Condividi tramite


StyleSet.AddPen Method

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)

Syntax

'Declaration
Public Sub AddPen ( _
    newPenId As StyleSetResourceId, _
    basePenId As StyleSetResourceId, _
    penSettings As PenSettings _
)
public void AddPen(
    StyleSetResourceId newPenId,
    StyleSetResourceId basePenId,
    PenSettings penSettings
)
public:
void AddPen(
    StyleSetResourceId^ newPenId, 
    StyleSetResourceId^ basePenId, 
    PenSettings^ penSettings
)
member AddPen : 
        newPenId:StyleSetResourceId * 
        basePenId:StyleSetResourceId * 
        penSettings:PenSettings -> unit
public function AddPen(
    newPenId : StyleSetResourceId, 
    basePenId : StyleSetResourceId, 
    penSettings : PenSettings
)

Parameters

.NET Framework Security

See Also

Reference

StyleSet Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace