API Documentation > CorelDRAW > 2025-v26 > SubPath > IVGSubPath
SubPath.GetPolyline method
Returns curve consisting of line segments approximating the current subpath
Syntax:
Function GetPolyline(Optional ByVal CurvePrecision As Long = 0) As Curve
Parameters:
Name Type Description
CurvePrecision
Long
Specifies the precision level of the curve
Remarks:
The GetPolyline method returns a curve consisting of line segments approximating the current subpath.