StyleSet.AddFont(StyleSetResourceId, StyleSetResourceId, FontSettings) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.