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 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Overridable Function GetOutlinePenId ( _
geometryHost As IGeometryHost _
) As StyleSetResourceId
'使用
Dim instance As ShapeGeometry
Dim geometryHost As IGeometryHost
Dim returnValue As StyleSetResourceId
returnValue = instance.GetOutlinePenId(geometryHost)
public virtual StyleSetResourceId GetOutlinePenId(
IGeometryHost geometryHost
)
public:
virtual StyleSetResourceId^ GetOutlinePenId(
IGeometryHost^ geometryHost
)
public function GetOutlinePenId(
geometryHost : IGeometryHost
) : StyleSetResourceId
Parameters
geometryHost
Type: Microsoft.VisualStudio.Modeling.Diagrams.IGeometryHostThe instance of host data for the geometry.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId
The ID that is assigned to the brush that paints the outline of the shape geometry.
Permissions
- 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.