StyleSet::AddFont Method (StyleSetResourceId^, StyleSetResourceId^, FontSettings^)
Visual Studio 2015
Add a new Font to this StyleSet.
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.
Show: