# flipTo method

void flipTo(

1. bool flipHorizontally,
2. bool flipVertically,
3. Image dstImage

)

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 dstImage The destination Image object that receives the flipped image. throws FaceException An error has occurred during Face Library execution.

## Implementation

    void flipTo(bool flipHorizontally, bool flipVertically, Image dstImage) {
      var err = faceSDK.id3FaceImage_FlipTo(_pHandle.value, flipHorizontally, flipVertically, dstImage.handle);
      if (err != FaceError.success.value) {
        throw FaceException(err);
      }
    }