# flipTo method

void flipTo(

1. bool flipHorizontally,
2. bool flipVertically,
3. DocumentImage dstDocumentImage

)

Flips the image.

param flipHorizontally Value indicating whether the image should be flipped horizontally. param flipVertically Value indicating whether the image should be flipped vertically. param dstDocumentImage The destination Image object that receives the flipped image. throws DocumentException An error has occurred during Document Library execution.

## Implementation

    void flipTo(bool flipHorizontally, bool flipVertically, DocumentImage dstDocumentImage) {
      var err = documentSDK.id3DocumentImage_FlipTo(_pHandle.value, flipHorizontally, flipVertically, dstDocumentImage.handle);
      if (err != DocumentError.success.value) {
        throw DocumentException(err);
      }
    }