rotate method
- int angle
Rotates the image in-place to the specified angle. Note: The rotation is performed counter-clockwise.
param angle The rotation angle, in degree. Supported values are (0, 90, 180, 270). throws DocumentException An error has occurred during Document Library execution.
Implementation
void rotate(int angle) {
var err = documentSDK.id3DocumentImage_Rotate(_pHandle.value, angle);
if (err != DocumentError.success.value) {
throw DocumentException(err);
}
}