StyleSet::AddFont Method (StyleSetResourceId^, StyleSetResourceId^, FontSettings^)

 

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)

public:
void AddFont(
	StyleSetResourceId^ newFontId,
	StyleSetResourceId^ baseFontId,
	FontSettings^ fontSettings
)

Parameters

newFontId
Type: Microsoft.VisualStudio.Modeling.Diagrams::StyleSetResourceId^

Id of the new font to create.

baseFontId
Type: Microsoft.VisualStudio.Modeling.Diagrams::StyleSetResourceId^

Id of the font on which to base the new one.

fontSettings
Type: Microsoft.VisualStudio.Modeling.Diagrams::FontSettings^

Settings flags for the Font's overridden or immutable properties.

Return to top
Show: