API Documentation > CorelDRAW > 2025-v26 > SnapPoints > IVGSnapPoints
SnapPoints.FindClosest method
Finds closest snap point of given types
Syntax:
Function FindClosest(ByVal TypeSet As cdrPointType, ByVal PositionX As Double, ByVal PositionY As Double) As SnapPoint
Parameters:
Name Type Description
TypeSet
PositionX
Double
PositionY
Double
Remarks:
The FindClosest method finds the closest snap point of a given type.