共用方式為


ShapeElement.GeometryOutlinePenId Property

Gets the ID of the pen that draws the outline for the shape.

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 ReadOnly Property GeometryOutlinePenId As StyleSetResourceId
public StyleSetResourceId GeometryOutlinePenId { get; }
public:
virtual property StyleSetResourceId^ GeometryOutlinePenId {
    StyleSetResourceId^ get () sealed;
}
abstract GeometryOutlinePenId : StyleSetResourceId with get 
override GeometryOutlinePenId : StyleSetResourceId with get
final function get GeometryOutlinePenId () : StyleSetResourceId

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId
The ID of the pen that draws the outline for the shape.

Implements

IGeometryHost.GeometryOutlinePenId

.NET Framework Security

See Also

Reference

ShapeElement Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace