StyleSet.AddPen(StyleSetResourceId, 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.
Add a new Pen to this StyleSet.
public:
void AddPen(Microsoft::VisualStudio::Modeling::Diagrams::StyleSetResourceId ^ newPenId, Microsoft::VisualStudio::Modeling::Diagrams::StyleSetResourceId ^ basePenId, Microsoft::VisualStudio::Modeling::Diagrams::PenSettings ^ penSettings);
public void AddPen (Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId newPenId, Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId basePenId, Microsoft.VisualStudio.Modeling.Diagrams.PenSettings penSettings);
member this.AddPen : Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId * Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId * Microsoft.VisualStudio.Modeling.Diagrams.PenSettings -> unit
Public Sub AddPen (newPenId As StyleSetResourceId, basePenId As StyleSetResourceId, penSettings As PenSettings)
Parameters
- newPenId
- StyleSetResourceId
Id of the new pen to create.
- basePenId
- StyleSetResourceId
Id of the pen on which to base the new one.
- penSettings
- PenSettings
Settings flags for the Pen's overridden or immutable properties.