API Documentation > CorelDRAW > 2025-v26 > Guide > IVGGuide
Guide.GetPoints method
Returns the XY coordinates of the two points of the guideline
Syntax:
Sub GetPoints(ByRef Point1X As Double, ByRef Point1Y As Double, ByRef Point2X As Double, ByRef Point2Y As Double)
Parameters:
Name Type Description
Point1X
Double
Point1Y
Double
Point2X
Double
Point2Y
Double
Remarks:
The GetPoints method returns the x- and y-coordinates of two points on a guideline.