StyleSet.OverridePen(StyleSetResourceId, PenSettings) Method

Definition

Overrides the specified Pen in the StyleSet.

public:
 virtual void OverridePen(Microsoft::VisualStudio::Modeling::Diagrams::StyleSetResourceId ^ penId, Microsoft::VisualStudio::Modeling::Diagrams::PenSettings ^ penSettings);
public virtual void OverridePen (Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId penId, Microsoft.VisualStudio.Modeling.Diagrams.PenSettings penSettings);
abstract member OverridePen : Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId * Microsoft.VisualStudio.Modeling.Diagrams.PenSettings -> unit
override this.OverridePen : Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId * Microsoft.VisualStudio.Modeling.Diagrams.PenSettings -> unit
Public Overridable Sub OverridePen (penId As StyleSetResourceId, penSettings As PenSettings)

Parameters

penId
StyleSetResourceId

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

penSettings
PenSettings

PenSettings for what is allowed to override.

Applies to