clone method

PointList clone()

Creates a copy of the PointList object.

return The newly created PointList object. throws DocumentException An error has occurred during Document Library execution.

Implementation

PointList clone() {
  PointList clone = PointList();
  var err = documentSDK.id3DocumentPointList_CopyTo(_pHandle.value, clone.handle);
  if (err != DocumentError.success.value) {
    throw DocumentException(err);
  }
  return clone;
}