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
- penId
Type: Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId
The new penId for the resource to put into this StyleSet.
- penSettings
Type: Microsoft.VisualStudio.Modeling.Diagrams.PenSettings
PenSettings for what is allowed to override.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.