共用方式為


ShapeGeometry.GetOutlinePenId Method

Gets the ID that is assigned to the brush that paints the outline of the shape geometry.

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 Function GetOutlinePenId ( _
    geometryHost As IGeometryHost _
) As StyleSetResourceId
public virtual StyleSetResourceId GetOutlinePenId(
    IGeometryHost geometryHost
)
public:
virtual StyleSetResourceId^ GetOutlinePenId(
    IGeometryHost^ geometryHost
)
abstract GetOutlinePenId : 
        geometryHost:IGeometryHost -> StyleSetResourceId 
override GetOutlinePenId : 
        geometryHost:IGeometryHost -> StyleSetResourceId 
public function GetOutlinePenId(
    geometryHost : IGeometryHost
) : StyleSetResourceId

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId
The ID that is assigned to the brush that paints the outline of the shape geometry.

.NET Framework Security

See Also

Reference

ShapeGeometry Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace