- First, create a menu on the form.
- In the Windows Forms toolbox drag a MenuStrip control onto the form.
- Create three menus called File, View, and Processing.
- Under the File menu, add Load Page, and Exit.
- Under the View menu, add Zoom In and Zoom Out.
- Under the Processing menu, add Rotate 90, Rotate 180, and Rotate 270.
- For this tutorial, we have kept the default names for the controls. Double-click each item to create a handler.
- Next, add the ImageGear for .NET Page View control to the form.
- In the Windows Forms toolbox, click and drag the ImGearPageView control onto the form.
- Set the Dock property of the imGearPageView1 control to Fill. This will cause the control to resize as the form resizes.
- Keep the default control name, imGearPageView1, for this control. The form should now look as follows: