StyleSet::AddPen Method (StyleSetResourceId^, StyleSetResourceId^, PenSettings^)

 

Add a new Pen to this StyleSet.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
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.

Return to top
Show: