StyleSet.AddFont(StyleSetResourceId, StyleSetResourceId, FontSettings) Method

Definition

Add a new Font to this StyleSet.

public:
 void AddFont(Microsoft::VisualStudio::Modeling::Diagrams::StyleSetResourceId ^ newFontId, Microsoft::VisualStudio::Modeling::Diagrams::StyleSetResourceId ^ baseFontId, Microsoft::VisualStudio::Modeling::Diagrams::FontSettings ^ fontSettings);
public void AddFont (Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId newFontId, Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId baseFontId, Microsoft.VisualStudio.Modeling.Diagrams.FontSettings fontSettings);
member this.AddFont : Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId * Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId * Microsoft.VisualStudio.Modeling.Diagrams.FontSettings -> unit
Public Sub AddFont (newFontId As StyleSetResourceId, baseFontId As StyleSetResourceId, fontSettings As FontSettings)

Parameters

newFontId
StyleSetResourceId

Id of the new font to create.

baseFontId
StyleSetResourceId

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

fontSettings
FontSettings

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

Applies to