'We assume that the GdViewer1 control has been properly integrated.
'Determine the current document position.
MessageBox.Show("The current document position is " + GdViewer1.DocumentPosition.ToString() + ".", "GdViewer.DocumentPosition")
'Set the required document position.
GdViewer1.DocumentPosition = ViewerDocumentPosition.DocumentPositionTopLeft
//We assume that the GdViewer1 control has been properly integrated.
//Determine the current document position.
MessageBox.Show("The current document position is " + GdViewer1.DocumentPosition.ToString()+ ".", "GdViewer.DocumentPosition");
//Set the required document position.
GdViewer1.DocumentPosition = ViewerDocumentPosition.DocumentPositionTopLeft;