Compartilhar via


StyleSet.OverridePen Method

Overrides the specified Pen in the StyleSet.

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

Syntax

'Declaração
Public Overridable Sub OverridePen ( _
    penId As StyleSetResourceId, _
    penSettings As PenSettings _
)
public virtual void OverridePen(
    StyleSetResourceId penId,
    PenSettings penSettings
)
public:
virtual void OverridePen(
    StyleSetResourceId^ penId, 
    PenSettings^ penSettings
)
abstract OverridePen : 
        penId:StyleSetResourceId * 
        penSettings:PenSettings -> unit 
override OverridePen : 
        penId:StyleSetResourceId * 
        penSettings:PenSettings -> unit 
public function OverridePen(
    penId : StyleSetResourceId, 
    penSettings : PenSettings
)

Parameters

.NET Framework Security

See Also

Reference

StyleSet Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace