StyleSet::GetPenCopy Method (StyleSetResourceId^)

 

Retrieves a specific Pen from the StyleSet. If it's not in the current one, it looks up the parent chain to see if it can find it there. This is a copy. Caller is responsible for dispose.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

public:
Pen^ GetPenCopy(
	StyleSetResourceId^ penId
)

Parameters

penId
Type: Microsoft.VisualStudio.Modeling.Diagrams::StyleSetResourceId^
brushId

ID of brush

Return Value

Type: System.Drawing::Pen^
Return to top
Show: