StyleSet.OverrideFontWorker 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.
Overrides the specified Font in the StyleSet.
protected:
virtual void OverrideFontWorker(Microsoft::VisualStudio::Modeling::Diagrams::StyleSetResourceId ^ fontId, Microsoft::VisualStudio::Modeling::Diagrams::StyleSetResourceId ^ baseFontId, Microsoft::VisualStudio::Modeling::Diagrams::FontSettings ^ fontSettings);
protected virtual void OverrideFontWorker (Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId fontId, Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId baseFontId, Microsoft.VisualStudio.Modeling.Diagrams.FontSettings fontSettings);
abstract member OverrideFontWorker : Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId * Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId * Microsoft.VisualStudio.Modeling.Diagrams.FontSettings -> unit
override this.OverrideFontWorker : Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId * Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId * Microsoft.VisualStudio.Modeling.Diagrams.FontSettings -> unit
Protected Overridable Sub OverrideFontWorker (fontId As StyleSetResourceId, baseFontId As StyleSetResourceId, fontSettings As FontSettings)
Parameters
- fontId
- StyleSetResourceId
The new fontId for the resource to put into this StyleSet.
- baseFontId
- StyleSetResourceId
The base fontId for the resource in the parent StyleSet.
- fontSettings
- FontSettings
FontSettings for what is allowed to override.