Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Overrides the specified Font in the StyleSet.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
Protected Overridable Sub OverrideFontWorker ( _
fontId As StyleSetResourceId, _
baseFontId As StyleSetResourceId, _
fontSettings As FontSettings _
)
protected virtual void OverrideFontWorker(
StyleSetResourceId fontId,
StyleSetResourceId baseFontId,
FontSettings fontSettings
)
protected:
virtual void OverrideFontWorker(
StyleSetResourceId^ fontId,
StyleSetResourceId^ baseFontId,
FontSettings^ fontSettings
)
abstract OverrideFontWorker :
fontId:StyleSetResourceId *
baseFontId:StyleSetResourceId *
fontSettings:FontSettings -> unit
override OverrideFontWorker :
fontId:StyleSetResourceId *
baseFontId:StyleSetResourceId *
fontSettings:FontSettings -> unit
protected function OverrideFontWorker(
fontId : StyleSetResourceId,
baseFontId : StyleSetResourceId,
fontSettings : FontSettings
)
Parameters
fontId
Type: Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceIdThe new fontId for the resource to put into this StyleSet.
baseFontId
Type: Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceIdThe base fontId for the resource in the parent StyleSet.
fontSettings
Type: Microsoft.VisualStudio.Modeling.Diagrams.FontSettingsFontSettings for what is allowed to override.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.