'We assume that the GdViewer1 control has been properly integrated
'and your document has been properly displayed as well.
If ((GdViewer1.Rotate(RotateFlipType.Rotate180FlipNone) = GdPictureStatus.OK) AndAlso
(GdViewer1.RotateView(RotateFlipType.RotateNoneFlipXY) = GdPictureStatus.OK)) Then
MessageBox.Show("The final page rendering rotation is: " + GdViewer1.PageRenderRotation.ToString() + vbCrLf +
"The page rotation is: " + GdViewer1.PageRotation.ToString() + vbCrLf +
"The view rotation is: " + GdViewer1.ViewRotation.ToString(), "GdViewer.PageRenderRotation")
End If
//We assume that the GdViewer1 control has been properly integrated
//and your document has been properly displayed as well.
if ((GdViewer1.Rotate(RotateFlipType.Rotate180FlipNone) == GdPictureStatus.OK) &&
(GdViewer1.RotateView(RotateFlipType.RotateNoneFlipXY) == GdPictureStatus.OK))
{
MessageBox.Show("The final page rendering rotation is: " + GdViewer1.PageRenderRotation.ToString() +
"\nThe page rotation is: " + GdViewer1.PageRotation.ToString() +
"\nThe view rotation is: " + GdViewer1.ViewRotation.ToString(), "GdViewer.PageRenderRotation");
}