Share via


StyleSet.OverridePenWorker Method

Overrides the specified Pen in the StyleSet.

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

Syntax

'Declaration
Protected Overridable Sub OverridePenWorker ( _
    penId As StyleSetResourceId, _
    basePenId As StyleSetResourceId, _
    penSettings As PenSettings _
)
protected virtual void OverridePenWorker(
    StyleSetResourceId penId,
    StyleSetResourceId basePenId,
    PenSettings penSettings
)
protected:
virtual void OverridePenWorker(
    StyleSetResourceId^ penId, 
    StyleSetResourceId^ basePenId, 
    PenSettings^ penSettings
)
abstract OverridePenWorker : 
        penId:StyleSetResourceId * 
        basePenId:StyleSetResourceId * 
        penSettings:PenSettings -> unit  
override OverridePenWorker : 
        penId:StyleSetResourceId * 
        basePenId:StyleSetResourceId * 
        penSettings:PenSettings -> unit
protected function OverridePenWorker(
    penId : StyleSetResourceId, 
    basePenId : StyleSetResourceId, 
    penSettings : PenSettings
)

Parameters

.NET Framework Security

See Also

Reference

StyleSet Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace