getVersionEx static method

LibVersion getVersionEx()

Retrieves the library version as a structure.

return The version. throws DocumentException An error has occurred during Document Library execution.

Implementation

static LibVersion getVersionEx() {
  Pointer<id3DocumentLibVersion> pVersion = calloc();
  var err = documentSDK.id3DocumentLibrary_GetVersionEx(pVersion);
  if (err != DocumentError.success.value) {
  	calloc.free(pVersion);
  	throw DocumentException(err);
  }
  return LibVersion(pVersion);
}