StyleSet.OverrideFont Method
Overrides the specified Font in the StyleSet.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Public Overridable Sub OverrideFont ( _
fontId As StyleSetResourceId, _
fontSettings As FontSettings _
)
public virtual void OverrideFont(
StyleSetResourceId fontId,
FontSettings fontSettings
)
public:
virtual void OverrideFont(
StyleSetResourceId^ fontId,
FontSettings^ fontSettings
)
abstract OverrideFont :
fontId:StyleSetResourceId *
fontSettings:FontSettings -> unit
override OverrideFont :
fontId:StyleSetResourceId *
fontSettings:FontSettings -> unit
public function OverrideFont(
fontId : StyleSetResourceId,
fontSettings : FontSettings
)
Parameters
fontId
Type: Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceIdThe new fontId for the resource to put into this 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.