Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Overrides the specified Font in the StyleSet.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.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.StyleSetResourceId
The new fontId for the resource to put into this StyleSet.
- baseFontId
Type: Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId
The base fontId for the resource in the parent StyleSet.
- fontSettings
Type: Microsoft.VisualStudio.Modeling.Diagrams.FontSettings
FontSettings 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.