Delen via


StyleSet.AddFont Method

Add a new Font to this 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 Sub AddFont ( _
    newFontId As StyleSetResourceId, _
    baseFontId As StyleSetResourceId, _
    fontSettings As FontSettings _
)
public void AddFont(
    StyleSetResourceId newFontId,
    StyleSetResourceId baseFontId,
    FontSettings fontSettings
)
public:
void AddFont(
    StyleSetResourceId^ newFontId, 
    StyleSetResourceId^ baseFontId, 
    FontSettings^ fontSettings
)
member AddFont : 
        newFontId:StyleSetResourceId * 
        baseFontId:StyleSetResourceId * 
        fontSettings:FontSettings -> unit
public function AddFont(
    newFontId : StyleSetResourceId, 
    baseFontId : StyleSetResourceId, 
    fontSettings : FontSettings
)

Parameters

.NET Framework Security

See Also

Reference

StyleSet Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace