flip method

void flip(
  1. bool flipHorizontally,
  2. bool flipVertically
)

Flips the image in-place.

param flipHorizontally Value indicating whether the image should be flipped horizontally. param flipVertically Value indicating whether the image should be flipped vertically. throws DocumentException An error has occurred during Document Library execution.

Implementation

void flip(bool flipHorizontally, bool flipVertically) {
  var err = documentSDK.id3DocumentImage_Flip(_pHandle.value, flipHorizontally, flipVertically);
  if (err != DocumentError.success.value) {
    throw DocumentException(err);
  }
}