Converts the list of geometry points to an array.
JavaScript |
|
ToArray() |
C# |
|
dynamic ToArray() |
C++ |
|
HRESULT ToArray( VARIANT* var) |
Return Value
var
An Safe Array that contains triplets of doubles. Each triplet is composed of an x-coordinate, a y-coordinate, and a height.
Note: In JavaScript, use the VBArray object. E.g.,
var points = geom..Points.ToArray()
var arr = new VBArray(points).toArray();
Exceptions
See: HRESULT Return Values for a list of possible values returned by the HRESULT.