Returns the number of openings in the referenced polyline.
FUNCTION GetNumHoles(
inPolyline : HANDLE;
VAR outNumHoles : INTEGER): BOOLEAN;def vs.GetNumHoles(inPolyline):
return (BOOLEAN, outNumHoles)| Name | Type | Description |
|---|---|---|
| inPolyline | HANDLE | Handle to polyline. |
| outNumHoles | INTEGER | The number of openings in the polyline object. |
This function never returns FALSE regardless of the object type of "inPolyline" or whether "inPolyline" has holes. It will only return FALSE on "inPolyine" = NIL.
VS Functions: GetHole
Availability: from VectorWorks9.0