get method
- int index
Gets an item of the PointList object.
param index Index of the Point item to get. return Point item to get. throws DocumentException An error has occurred during Document Library execution.
Implementation
Point get(int index) {
Pointer<id3DocumentPoint> pPointItem = calloc();
var err = documentSDK.id3DocumentPointList_Get(_pHandle.value, index, pPointItem);
if (err != DocumentError.success.value) {
calloc.free(pPointItem);
throw DocumentException(err);
}
return Point(pPointItem);
}