rotateTo method
- int angle,
- DocumentImage dstDocumentImage
Rotates the image 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). param dstDocumentImage The destination Image that receives the rotated image. throws DocumentException An error has occurred during Document Library execution.
Implementation
void rotateTo(int angle, DocumentImage dstDocumentImage) {
var err = documentSDK.id3DocumentImage_RotateTo(_pHandle.value, angle, dstDocumentImage.handle);
if (err != DocumentError.success.value) {
throw DocumentException(err);
}
}