次の方法で共有


StyleSet.OverrideFont(StyleSetResourceId, FontSettings) Method

Definition

Overrides the specified Font in the StyleSet.

public:
 virtual void OverrideFont(Microsoft::VisualStudio::Modeling::Diagrams::StyleSetResourceId ^ fontId, Microsoft::VisualStudio::Modeling::Diagrams::FontSettings ^ fontSettings);
public virtual void OverrideFont (Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId fontId, Microsoft.VisualStudio.Modeling.Diagrams.FontSettings fontSettings);
abstract member OverrideFont : Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId * Microsoft.VisualStudio.Modeling.Diagrams.FontSettings -> unit
override this.OverrideFont : Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId * Microsoft.VisualStudio.Modeling.Diagrams.FontSettings -> unit
Public Overridable Sub OverrideFont (fontId As StyleSetResourceId, fontSettings As FontSettings)

Parameters

fontId
StyleSetResourceId

The new fontId for the resource to put into this StyleSet.

fontSettings
FontSettings

FontSettings for what is allowed to override.

Applies to