reallocate method
- int width,
- int height,
- PixelFormat pixelFormat
Reallocates the internal memory of the Image from parameters. Note: If the given parameters are the same as the ones of the object, then there is nothing done in this function.
param width The new width, in pixels. param height The new height, in pixels. param pixelFormat The new pixel format. throws DocumentException An error has occurred during Document Library execution.
Implementation
void reallocate(int width, int height, PixelFormat pixelFormat) {
var err = documentSDK.id3DocumentImage_Reallocate(_pHandle.value, width, height, pixelFormat.value);
if (err != DocumentError.success.value) {
throw DocumentException(err);
}
}