Condividi tramite


StyleSet.OverridePen Method

Overrides the specified Pen in the 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 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