ClearImage .NET API
FlipHorz Method (CiImage)
Example 





Inlite.ClearImage Namespace > CiImage Class : FlipHorz Method
Flip image around horizontal axis
Syntax
'Declaration
 
Public Function FlipHorz() As System.Integer
'Usage
 
Dim instance As CiImage
Dim value As System.Integer
 
value = instance.FlipHorz()
public System.int FlipHorz()
public function FlipHorz(): System.Integer; 
public function FlipHorz() : System.int;
public:
System.int FlipHorz(); 
Remarks
This method generates an error if object.Image.IsZone is true.
Example
void RotateFlipOps(string imageFile)
{
    CiServer ci = Inlite.ClearImageNet.Server.GetThreadServer();
    CiImage image = ci.CreateImage();
    image.Open(imageFile, 1);
    // Do processing
    image.RotateLeft();
    image.RotateRight();
    image.Flip();
    image.FlipHorz();
    image.FlipVert();
}
Sub RotateFlipOps(imageFile As String)
    Dim ci As CiServer = Inlite.ClearImageNet.Server.GetThreadServer()
    Dim image As CiImage = ci.CreateImage()
    image.Open(imageFile, 1)
    ' Do processing
    image.RotateLeft()
    image.RotateRight()
    image.Flip()
    image.FlipHorz()
    image.FlipVert()
End Sub
See Also

Reference

CiImage Class
CiImage Members