getPixelDepth method
Gets the pixel depth.
return Pixel depth. throws DocumentException An error has occurred during Document Library execution.
Implementation
int getPixelDepth() {
Pointer<Int> pPixelDepth = calloc();
try {
var err = documentSDK.id3DocumentImage_GetPixelDepth(_pHandle.value, pPixelDepth);
if (err != DocumentError.success.value) {
throw DocumentException(err);
}
final vPixelDepth = pPixelDepth.value;
return vPixelDepth;
} finally {
calloc.free(pPixelDepth);
}
}