DocumentImage.flipTo Method¶
Module: DocumentImage
Definition¶
Flips the image.
flip_to(self, flip_horizontally: bool, flip_vertically: bool, dst_document_image: DocumentImage) -> None
Parameters
flip_horizontally
boolin Value indicating whether the image should be flipped horizontally.flip_vertically
boolin Value indicating whether the image should be flipped vertically.dst_document_image
DocumentImagein The destination Image object that receives the flipped image.
Exceptions
An error has occurred during Document Library execution.
void flipTo(bool flipHorizontally, bool flipVertically, DocumentImage dstDocumentImage)
Parameters
flipHorizontally
boolin Value indicating whether the image should be flipped horizontally.flipVertically
boolin Value indicating whether the image should be flipped vertically.dstDocumentImage
DocumentImagein The destination Image object that receives the flipped image.
Exceptions
An error has occurred during Document Library execution.
public void FlipTo(bool flipHorizontally, bool flipVertically, DocumentImage dstDocumentImage)
Parameters
flipHorizontally
boolin Value indicating whether the image should be flipped horizontally.flipVertically
boolin Value indicating whether the image should be flipped vertically.dstDocumentImage
DocumentImagein The destination Image object that receives the flipped image.
Exceptions
An error has occurred during Document Library execution.
public void flipTo(boolean flipHorizontally, boolean flipVertically, DocumentImage dstDocumentImage) throws DocumentException
Parameters
flipHorizontally
booleanin Value indicating whether the image should be flipped horizontally.flipVertically
booleanin Value indicating whether the image should be flipped vertically.dstDocumentImage
DocumentImagein The destination Image object that receives the flipped image.
Exceptions
An error has occurred during Document Library execution.
public func flipTo(flipHorizontally: Bool, flipVertically: Bool, dstDocumentImage: DocumentImage) throws
Parameters
flipHorizontally
Boolin Value indicating whether the image should be flipped horizontally.flipVertically
Boolin Value indicating whether the image should be flipped vertically.dstDocumentImage
DocumentImagein The destination Image object that receives the flipped image.
Exceptions
An error has occurred during Document Library execution.
int id3DocumentImage_FlipTo (
ID3_DOCUMENT_IMAGE hDocumentImage,
bool flipHorizontally,
bool flipVertically,
ID3_DOCUMENT_IMAGE hDstDocumentImage)
Parameters
hDocumentImage
ID3_DOCUMENT_IMAGEin Handle to the DocumentImage object.flipHorizontally
boolin Value indicating whether the image should be flipped horizontally.flipVertically
boolin Value indicating whether the image should be flipped vertically.hDstDocumentImage
ID3_DOCUMENT_IMAGEin The destination Image object that receives the flipped image.
Returns