共用方式為


ShapeElement.OutlinePenId Property

Gets the ID of the pen that is used to draw the outline of 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 Overridable ReadOnly Property OutlinePenId As StyleSetResourceId
public virtual StyleSetResourceId OutlinePenId { get; }
public:
virtual property StyleSetResourceId^ OutlinePenId {
    StyleSetResourceId^ get ();
}
abstract OutlinePenId : StyleSetResourceId with get 
override OutlinePenId : StyleSetResourceId with get
function get OutlinePenId () : StyleSetResourceId

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId
The ID of the pen that is used to draw the outline of the shape.

.NET Framework Security

See Also

Reference

ShapeElement Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace