I have used below code for displaying the image:
imageid = GDPViewer.DisplayFromFile(FilePath)
Below code for rotating image:
GDPViewer.Rotate(RotateFlipType.Rotate90FlipNone)
Below code for saving the image in BMP format:
Code: Select all
Dim oGdPictureImaging As New GdPictureImaging
For intIndex = 0 To GDPThumbnailEx.ItemCount - 1
If GDPThumbnailEx.GetItemSelectState(intIndex) Then
strFileName = GDPThumbnailEx.GetItemText(intIndex)
Exit For
End If
Next
oGdPictureImaging.SaveAsBMP(imageid, FilePath)
Thanks,
Suhas