StyleSet.GetOverriddenPenSettings Method
Gets a PenSettings object containing settings which have been overriden in this style set. If no settings have been overriden, this method returns null.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaration
Public Function GetOverriddenPenSettings ( _
penId As StyleSetResourceId _
) As PenSettings
public PenSettings GetOverriddenPenSettings(
StyleSetResourceId penId
)
public:
PenSettings^ GetOverriddenPenSettings(
StyleSetResourceId^ penId
)
member GetOverriddenPenSettings :
penId:StyleSetResourceId -> PenSettings
public function GetOverriddenPenSettings(
penId : StyleSetResourceId
) : PenSettings
Parameters
- penId
Type: Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId
Id of the PenSettings to retrieve.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.PenSettings
.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.