Syntax
DrawSetPolyPoints NumPoints, TwoDimensionalArray[$]() [, Object]
Remarks
Applies the coordinates stored in a two-dimensional array to the specified freeform drawing object. If the specified object is not a freeform shape, an error occurs.
Argument | Explanation |
NumPoints | The number of coordinates in TwoDimensionalArray[$]() to apply to the freeform drawing object. NumPoints cannot exceed the size of the array. |
TwoDimensionalArray[$]() | A two-dimensional array containing the coordinates of the end points in the freeform drawing object. You can use a numeric array containing values in the default measurement unit or a string array containing text measurements. For information on how values are stored in the array, see DrawGetPolyPoints. |
Argument | Explanation |
Object | Specifies a drawing object: Omitted The selected drawing object > 0 (zero) An object whose anchor is in a range set by DrawSetRange, where 1 is the first object in the range, 2 is the second object, and so on. If the number is not in the range 1 to DrawCount(), an error occurs. |
For an example, see DrawCountPolyPoints().
See Also
DrawCountPolyPoints(), DrawFreeformPolygon, DrawGetPolyPoints, DrawReshape