WebImagePanViewer Class

Summary
Represents a LEADTOOLS AJAX WebImagePanViewer control that can be used to display a scaled view of an image (of any image format supported by LEADTOOLS) on an ASP.NET 2.0 web page.
Syntax
C#
[ToolboxDataAttribute("<{0}:WebImagePanViewer runat=server Width=220px Height=220px BorderWidth=1px Bord" + 
 "erStyle=Solid ></{0}:WebImagePanViewer>")] 
[DefaultPropertyAttribute("ViewerID")] 
public class WebImagePanViewer : WebControl, INamingContainer, IPostBackDataHandler, INotifyPropertyChanged 
Remarks

The WebImagePanViewer is used to display a scaled view of an image, which is also being displayed in the WebImageViewer control at a size that would require scrolling.

The WebImagePanViewer will maintain the images aspect ratio. In the WebImagePanViewer, a colored Pan rect will be displayed to indicate the portion of the image currently being displayed in the WebImageViewer associated with this PanViewer control.

When a user clicks inside the WebImagePanViewer and moves the mouse, while holding down the button, the Pan rect will move with the mouse pointer. Set the Viewer property to a WebImageViewer object to be panned.

To use this control properly, LEADTOOLS binaries must be installed on the server machine.

This Control works only with ASP.NET 2.0.

Be sure that the DLLs in the LEADTOOLS I/O Library are available to your application. There are two ways of doing this:

  • Install the DLLs in the application's directory

OR

Requirements

Target Platforms

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Web Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.