getHeight method

int getHeight()

Gets the height in pixels.

return Height in pixels. throws DocumentException An error has occurred during Document Library execution.

Implementation

int getHeight() {
  Pointer<Int> pHeight = calloc();
  try {
    var err = documentSDK.id3DocumentImage_GetHeight(_pHandle.value, pHeight);
    if (err != DocumentError.success.value) {
      throw DocumentException(err);
    }
    final vHeight = pHeight.value;
    return vHeight;
  } finally {
    calloc.free(pHeight);
  }
}