Object Model Reference : Classes : N : NodeRange : Methods : NodeRange.AutoReduce |
Sub AutoReduce(PrecisionMargin As Double)
Member of NodeRange
The AutoReduce method remove extra nodes, keeping the shape of the curve within a given margin of deviation.
The following VBA example removes any extra nodes in the active shape, keeping changes in the curves shape within 0.01" (where inches is the documents unit of measurement).
Sub Test() |
ActiveShape.Curve.Nodes.All.AutoReduce 0.01 |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.