ClearImage .NET API
RotateRight Method (CiImage)
Example 





Inlite.ClearImage Namespace > CiImage Class : RotateRight Method
Rotate image to the right
Syntax
'Declaration
 
Public Function RotateRight() As System.Integer
'Usage
 
Dim instance As CiImage
Dim value As System.Integer
 
value = instance.RotateRight()
public System.int RotateRight()
public function RotateRight(): System.Integer; 
public function RotateRight() : System.int;
public:
System.int RotateRight(); 
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