GraphicsPathToGeometryPath

ShapeUtil.GraphicsPathToGeometryPath method

Converts a GraphicsPath to the IGeometryPath Return value of the method call can be used to change the geometry of a IGeometryShape object with IGeometryShape.SetGeometryPaths method.

public static IGeometryPath GraphicsPathToGeometryPath(GraphicsPath graphicsPath)
ParameterTypeDescription
graphicsPathGraphicsPathGraphics path

Return Value

Geometry path

See Also