DocumentImage.flip Method

Module: DocumentImage

Definition

Flips the image in-place.

flip(self, flip_horizontally: bool, flip_vertically: bool) -> None

Parameters

flip_horizontally bool
in Value indicating whether the image should be flipped horizontally.

flip_vertically bool
in Value indicating whether the image should be flipped vertically.

Exceptions

An error has occurred during Document Library execution.
void flip(bool flipHorizontally, bool flipVertically)

Parameters

flipHorizontally bool
in Value indicating whether the image should be flipped horizontally.

flipVertically bool
in Value indicating whether the image should be flipped vertically.

Exceptions

An error has occurred during Document Library execution.
public void Flip(bool flipHorizontally, bool flipVertically)

Parameters

flipHorizontally bool
in Value indicating whether the image should be flipped horizontally.

flipVertically bool
in Value indicating whether the image should be flipped vertically.

Exceptions

An error has occurred during Document Library execution.
public void flip(boolean flipHorizontally, boolean flipVertically) throws DocumentException

Parameters

flipHorizontally boolean
in Value indicating whether the image should be flipped horizontally.

flipVertically boolean
in Value indicating whether the image should be flipped vertically.

Exceptions

An error has occurred during Document Library execution.
public func flip(flipHorizontally: Bool, flipVertically: Bool) throws

Parameters

flipHorizontally Bool
in Value indicating whether the image should be flipped horizontally.

flipVertically Bool
in Value indicating whether the image should be flipped vertically.

Exceptions

An error has occurred during Document Library execution.
int id3DocumentImage_Flip (
    ID3_DOCUMENT_IMAGE hDocumentImage,
    bool flipHorizontally,
    bool flipVertically)

Parameters

hDocumentImage ID3_DOCUMENT_IMAGE
in Handle to the DocumentImage object.

flipHorizontally bool
in Value indicating whether the image should be flipped horizontally.

flipVertically bool
in Value indicating whether the image should be flipped vertically.

Returns

int
An error code.
See id3DocumentError file for the list of possible error codes.