Partager via


StyleSet.OverrideFontWorker 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
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

.NET Framework Security

See Also

Reference

StyleSet Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace