StyleSet::AddPen Method (StyleSetResourceId^, StyleSetResourceId^, PenSettings^)
Visual Studio 2015
Add a new Pen to this StyleSet.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
public: void AddPen( StyleSetResourceId^ newPenId, StyleSetResourceId^ basePenId, PenSettings^ penSettings )
Parameters
- newPenId
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::StyleSetResourceId^
Id of the new pen to create.
- basePenId
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::StyleSetResourceId^
Id of the pen on which to base the new one.
- penSettings
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::PenSettings^
Settings flags for the Pen's overridden or immutable properties.
Show: