in

Data Techniques Forums

image Rotation in Viewer control

Last post 01-29-2010 8:50 AM by rangasamy007. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 01-27-2010 9:47 AM

    image Rotation in Viewer control

    Hi All,


    Thank you for advance.

    We are using VS2008 with C# window forms.

    I want to rotate the image in 90/180/270/360.

    how to implement the image Rotations?

    please give me the c# sample code.


  • 01-27-2010 1:24 PM In reply to

    Re: image Rotation in Viewer control

    Hi,

    Here's some sample code to rotate an image using the RotateCommand class:

     

    Rotating an Image using the RotateCommand class

    [C#]

    RotateCommand rotate = new RotateCommand(90, Color.White);

     

    // The RotateCommand always returns new image

    ImImage newImage = rotate.Process( img );

     

    The Image Processing topic in the How To section of the helpfile has more info on using the various processing classes.

     

     

  • 01-29-2010 8:50 AM In reply to

    Re: image Rotation in Viewer control

     I solved this issue with your response.

    Thank you

    Ranga

     

Page 1 of 1 (3 items)
Copyright 2009 Data Techniques, Inc. All Rights Reserved.