Condividi tramite


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

.NET Framework Security

See Also

Reference

StyleSet Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace