DocumentImage.rotateTo Method¶
Module: DocumentImage
Definition¶
Rotates the image to the specified angle.
Note
The rotation is performed counter-clockwise.
rotate_to(self, angle: int, dst_document_image: DocumentImage) -> None
Parameters
angle
intin The rotation angle, in degree. Supported values are [0, 90, 180, 270].dst_document_image
DocumentImagein The destination Image that receives the rotated image.
Exceptions
An error has occurred during Document Library execution.
void rotateTo(int angle, DocumentImage dstDocumentImage)
Parameters
angle
intin The rotation angle, in degree. Supported values are [0, 90, 180, 270].dstDocumentImage
DocumentImagein The destination Image that receives the rotated image.
Exceptions
An error has occurred during Document Library execution.
public void RotateTo(int angle, DocumentImage dstDocumentImage)
Parameters
angle
intin The rotation angle, in degree. Supported values are [0, 90, 180, 270].dstDocumentImage
DocumentImagein The destination Image that receives the rotated image.
Exceptions
An error has occurred during Document Library execution.
public void rotateTo(int angle, DocumentImage dstDocumentImage) throws DocumentException
Parameters
angle
intin The rotation angle, in degree. Supported values are [0, 90, 180, 270].dstDocumentImage
DocumentImagein The destination Image that receives the rotated image.
Exceptions
An error has occurred during Document Library execution.
public func rotateTo(angle: Int32, dstDocumentImage: DocumentImage) throws
Parameters
angle
Int32in The rotation angle, in degree. Supported values are [0, 90, 180, 270].dstDocumentImage
DocumentImagein The destination Image that receives the rotated image.
Exceptions
An error has occurred during Document Library execution.
int id3DocumentImage_RotateTo (
ID3_DOCUMENT_IMAGE hDocumentImage,
int angle,
ID3_DOCUMENT_IMAGE hDstDocumentImage)
Parameters
hDocumentImage
ID3_DOCUMENT_IMAGEin Handle to the DocumentImage object.angle
intin The rotation angle, in degree. Supported values are [0, 90, 180, 270].hDstDocumentImage
ID3_DOCUMENT_IMAGEin The destination Image that receives the rotated image.
Returns