getWidth method
Gets the width in pixels.
return Width in pixels. throws DocumentException An error has occurred during Document Library execution.
Implementation
int getWidth() {
Pointer<Int> pWidth = calloc();
try {
var err = documentSDK.id3DocumentImage_GetWidth(_pHandle.value, pWidth);
if (err != DocumentError.success.value) {
throw DocumentException(err);
}
final vWidth = pWidth.value;
return vWidth;
} finally {
calloc.free(pWidth);
}
}