Gets the path around the shape geometry.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Protected Overridable Function GetPath ( _
boundingBox As RectangleD _
) As GraphicsPath
'使用
Dim boundingBox As RectangleD
Dim returnValue As GraphicsPath
returnValue = Me.GetPath(boundingBox)
protected virtual GraphicsPath GetPath(
RectangleD boundingBox
)
protected:
virtual GraphicsPath^ GetPath(
RectangleD boundingBox
)
protected function GetPath(
boundingBox : RectangleD
) : GraphicsPath
Parameters
boundingBox
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleDThe bounding box for the shape geometry, relative to the top-left corner of the IGeometryHost parent.
Return Value
Type: System.Drawing.Drawing2D.GraphicsPath
The path around 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.