'We assume that the GdViewer1 control has been properly integrated.
'Determine the maximal zoom for the displayed document.
Dim z As Short = (Math.Round(GdViewer1.ZoomMax * 100))
MessageBox.Show("The maximal zoom is " + z.ToString() + "%.", "GdViewer.ZoomMax")
//We assume that the GdViewer1 control has been properly integrated.
//Determine the maximal zoom for the displayed document.
short z = (short)(Math.Round(GdViewer1.ZoomMax * 100));
MessageBox.Show("The maximal zoom is " + z.ToString()+ "%.", "GdViewer.ZoomMax");