API Documentation > CorelDRAW > 2025-v26
SnapPoints class
SnapPoints class
Syntax:
Class SnapPoints
Remarks:
The SnapPoints class represents a collection of snap points (or SnapPoint objects).
Properties:
Name Description
_NewEnum Returns an enumerator that iterates through a collection
All Returns a list of all the snap points in the collection
Application Gets the application to which the point collection belongs
Count Gets the number of points in the point collection
Item Gets a reference to the specified point, in base 1
Parent Gets the shape parent
Selection Returns a list of selected snap points
Methods:
Name Description
AddUserSnapPoint Adds a user snap point
AddUserSnapPointEx Adds a user snap point
Auto Returns the auto snap point for the shape
BBox Finds a bounding box snap point of specified type
ClearSelection Deselects all snap points
Edge Finds an edge snap point with given parameters
FindClosest Finds closest snap point of given types
Object Finds an object snap point of specified type
Range Creates a list of snap point referenced by the given IDs
User Finds a user snap point by ID