DEXTUpload.NET Professional
menu toggleReferences > DEXTUpload.NET > FlipMethod

DEXTUpload.NET
Enumeration FlipMethod

The minimum supported version
5.0.0.0
The minimum support environment
.NET Framework 4.0
Explanation

The "FlipMethod" is an enumeration type that indicates how to create a new image by turning the original image up and down.

Image flipping refers to move symmetry with respect to the coordinate axis. To flip a image uses the "Flip" method of the "DEXTUpload.NET.ImageProc" class. This method receives a value of the "FlipMethod" indicating the direction to flip a image as a parameter.

var target = new FileInfo("source.jpg");
using (var img = ImageProc.Flip(source, FlipMethod.XY))
{
    ImageProc.SaveImage(img, new FileInfo("out.jpg"), new ImageSaveOption());
}
Type
public enum FilterAction
Members

X

  • Positions on the X coordinate are flipped with respect to the Y-axis.

    Source Y-axis symmetry
    source flipped

Y

  • Positions on the Y coordinate are flipped with respect to the X-axis.

    Source X-axis symmetry
    source flipped

XY

  • Positions on the coordinates are flipped with respect to the origin.

    Source XY-axis symmetry
    source flipped