ImageGear for .NET
Creating a Page without Using the Project Item Template
  1. Open default.aspx in Visual Studio and switch to Design view.

  2. From the AJAX Extensions section of the Visual Studio Toolbox, drag a ScriptManager onto the form. You can drop it anywhere on the form in Design view; the exact location does not matter.

  3. From the HTML section of the Visual Studio Toolbox, drag three Input (Button) controls onto the form. In the Visual Studio Properties window:
    1. Change one button's value property to Show Full Image.
    2. Change the second button's value property to Rotate Right.
    3. Change the third button's value property to Draw Ellipse.



  4. Drag a PageView control onto the form.
    If this were the first page you added to your web site, you would need to also drag an ImageGearBackEnd control onto the form. For this tutorial, you added it to a different page in a previous step, so it is not needed here.


  5. In the Visual Studio Properties window, change the PageView control's DocumentIdentifier property to MyImage.tif. This image can be obtained from the Accusoft sample folder: .\Samples\ASP.NET\CSharp\ASP.NET Tutorial\ASP.NET Tutorial\viewImages. Navigate to Start > All Programs > Accusoft and click on the Samples folder. You could use your own image, but then you would need to appropriately modify the code and locate it as explained in the following Adding Event Handlers topic.

 

 


©2014. Accusoft Corporation. All Rights Reserved.

Send Feedback