Leadtools.Web.Controls Namespace : WebImagePanViewer Class |
[DefaultPropertyAttribute("ViewerID")] [ToolboxBitmapAttribute()] [ToolboxDataAttribute("<{0}:WebImagePanViewer runat=server Width=220px Height=220px BorderWidth=1px BorderStyle=Solid ></{0}:WebImagePanViewer>")] public class WebImagePanViewer : System.Web.UI.WebControls.WebControl, System.ComponentModel.IComponent, System.ComponentModel.INotifyPropertyChanged, System.IDisposable, System.Web.UI.IAttributeAccessor, System.Web.UI.IControlBuilderAccessor, System.Web.UI.IControlDesignerAccessor, System.Web.UI.IDataBindingsAccessor, System.Web.UI.IExpressionsAccessor, System.Web.UI.INamingContainer, System.Web.UI.IParserAccessor, System.Web.UI.IPostBackDataHandler, System.Web.UI.IUrlResolutionService
'Declaration <DefaultPropertyAttribute("ViewerID")> <ToolboxBitmapAttribute()> <ToolboxDataAttribute("<{0}:WebImagePanViewer runat=server Width=220px Height=220px BorderWidth=1px BorderStyle=Solid ></{0}:WebImagePanViewer>")> Public Class WebImagePanViewer Inherits System.Web.UI.WebControls.WebControl Implements System.ComponentModel.IComponent, System.ComponentModel.INotifyPropertyChanged, System.IDisposable, System.Web.UI.IAttributeAccessor, System.Web.UI.IControlBuilderAccessor, System.Web.UI.IControlDesignerAccessor, System.Web.UI.IDataBindingsAccessor, System.Web.UI.IExpressionsAccessor, System.Web.UI.INamingContainer, System.Web.UI.IParserAccessor, System.Web.UI.IPostBackDataHandler, System.Web.UI.IUrlResolutionService
'Usage Dim instance As WebImagePanViewer
public sealed class WebImagePanViewer : System.ComponentModel.IComponent, System.ComponentModel.INotifyPropertyChanged, IClosable //In WinRT the IDisposable interface is replaced by IClosable, System.Web.UI.IAttributeAccessor, System.Web.UI.IControlBuilderAccessor, System.Web.UI.IControlDesignerAccessor, System.Web.UI.IDataBindingsAccessor, System.Web.UI.IExpressionsAccessor, System.Web.UI.INamingContainer, System.Web.UI.IParserAccessor, System.Web.UI.IPostBackDataHandler, System.Web.UI.IUrlResolutionService
function Leadtools.Web.Controls.WebImagePanViewer()
[DefaultPropertyAttribute("ViewerID")] [ToolboxBitmapAttribute()] [ToolboxDataAttribute("<{0}:WebImagePanViewer runat=server Width=220px Height=220px BorderWidth=1px BorderStyle=Solid ></{0}:WebImagePanViewer>")] public ref class WebImagePanViewer : public System.Web.UI.WebControls.WebControl, System.ComponentModel.IComponent, System.ComponentModel.INotifyPropertyChanged, System.IDisposable, System.Web.UI.IAttributeAccessor, System.Web.UI.IControlBuilderAccessor, System.Web.UI.IControlDesignerAccessor, System.Web.UI.IDataBindingsAccessor, System.Web.UI.IExpressionsAccessor, System.Web.UI.INamingContainer, System.Web.UI.IParserAccessor, System.Web.UI.IPostBackDataHandler, System.Web.UI.IUrlResolutionService
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:
OR
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2