API Documentation > CorelDRAW > 2025-v26
PointRange class
PointRange class
Syntax:
Class PointRange
Properties:
Name Description
_NewEnum Returns an enumerator that iterates through a collection
Count Returns the number of points in the collection
First Returns the first point in collection
Item Gets a reference to the point specified, in base 1
Last Returns the last point in collection
Methods:
Name Description
AddPoint Adds a point to the collection
AddPoints Adds an array of points to the end
AddPointXY Adds a point to the collection
BindToDocument Binds the point range to a document which makes it use the coordinates in the document's coordinate system
GetCopy Returns a copy of the points array
InsertPoint Inserts a point at an index
InsertPoints Inserts an array of points at an index
Remove Removes a point from the collection
RemoveAdjacentDuplicates Remove duplicate points
RemoveAll Removes all points from the collection
RemoveRange Removes a range of points
Reverse Reverse the points array
Smoothen Smooths the points out