Visual Basic (Declaration) | |
---|---|
<ToolboxBitmapAttribute()> <ToolboxDataAttribute("<{0}:WebImageViewer runat=server Width=320px Height=320px BorderWidth=1px BorderStyle=Solid ></{0}:WebImageViewer>")> <DefaultPropertyAttribute("ImageUrl")> Public Class WebImageViewer Inherits System.Web.UI.WebControls.WebControl Implements IComponent, INotifyPropertyChanged, IDisposable, IAttributeAccessor, ICallbackEventHandler, IControlBuilderAccessor, IControlDesignerAccessor, IDataBindingsAccessor, IExpressionsAccessor, INamingContainer, IParserAccessor, IPostBackDataHandler, IUrlResolutionService |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As WebImageViewer |
C# | |
---|---|
[ToolboxBitmapAttribute()] [ToolboxDataAttribute("<{0}:WebImageViewer runat=server Width=320px Height=320px BorderWidth=1px BorderStyle=Solid ></{0}:WebImageViewer>")] [DefaultPropertyAttribute("ImageUrl")] public class WebImageViewer : System.Web.UI.WebControls.WebControl, IComponent, INotifyPropertyChanged, IDisposable, IAttributeAccessor, ICallbackEventHandler, IControlBuilderAccessor, IControlDesignerAccessor, IDataBindingsAccessor, IExpressionsAccessor, INamingContainer, IParserAccessor, IPostBackDataHandler, IUrlResolutionService |
C++/CLI | |
---|---|
[ToolboxBitmapAttribute()] [ToolboxDataAttribute("<{0}:WebImageViewer runat=server Width=320px Height=320px BorderWidth=1px BorderStyle=Solid ></{0}:WebImageViewer>")] [DefaultPropertyAttribute("ImageUrl")] public ref class WebImageViewer : public System.Web.UI.WebControls.WebControl, IComponent, INotifyPropertyChanged, IDisposable, IAttributeAccessor, ICallbackEventHandler, IControlBuilderAccessor, IControlDesignerAccessor, IDataBindingsAccessor, IExpressionsAccessor, INamingContainer, IParserAccessor, IPostBackDataHandler, IUrlResolutionService |
The WebImageViewer is used to tile and display any image format supported by LEADTOOLS.
To use this control properly, LEADTOOLS binaries must be installed on the server machine.
The WebImageViewer control can automatically handle zooming and scrolling.
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
- Install them in the Global Assembly Cache (GAC). For more information on this method, refer to The Microsoft Gacutil Tool.
System.Object
System.Web.UI.Control
System.Web.UI.WebControls.WebControl
Leadtools.Web.Controls.WebImageViewer
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7