API Documentation > CorelDRAW > 2025-v26 > NodeRange > IVGNodeRange
NodeRange.AutoReduce method
Increases the roundness of the curve (by editing/deleting the nodes within the range)
Syntax:
Sub AutoReduce(ByVal PrecisionMargin As Double)
Parameters:
Name Type Description
PrecisionMargin
Double
Remarks:
The AutoReduce method remove extra nodes, keeping the shape of the curve within a given margin of deviation.
Examples:
The following VBA example removes any extra nodes in the active shape, keeping changes in the curve's shape within 0.01" (where inches is the document's unit of measurement).
Sub Test()
ActiveShape.Curve.Nodes.All.AutoReduce 0.01 
End Sub