StyleSet.OverridePen(StyleSetResourceId, PenSettings) 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 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.