共用方式為


ShapeGeometry.GetPathCopy(IGeometryHost) Method

Definition

Gets an unique copy of the path. Caller is resposible for disposal.

public:
 System::Drawing::Drawing2D::GraphicsPath ^ GetPathCopy(Microsoft::VisualStudio::Modeling::Diagrams::IGeometryHost ^ geometryHost);
public System.Drawing.Drawing2D.GraphicsPath GetPathCopy (Microsoft.VisualStudio.Modeling.Diagrams.IGeometryHost geometryHost);
member this.GetPathCopy : Microsoft.VisualStudio.Modeling.Diagrams.IGeometryHost -> System.Drawing.Drawing2D.GraphicsPath
Public Function GetPathCopy (geometryHost As IGeometryHost) As GraphicsPath

Parameters

geometryHost
IGeometryHost

Geometry interface

Returns

Unique copy of a reset path

Applies to