共用方式為


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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'宣告
Public Overridable ReadOnly Property OutlinePenId As StyleSetResourceId
    Get
public virtual StyleSetResourceId OutlinePenId { get; }
public:
virtual property StyleSetResourceId^ OutlinePenId {
    StyleSetResourceId^ get ();
}
abstract OutlinePenId : StyleSetResourceId
override OutlinePenId : StyleSetResourceId
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