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
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.StyleSetResourceId
The new fontId for the resource to put into this 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.