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 WebControl |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
[ToolboxBitmapAttribute()] [ToolboxDataAttribute("<{0}:WebImageViewer runat=server Width=320px Height=320px BorderWidth=1px BorderStyle=Solid ></{0}:WebImageViewer>")] [DefaultPropertyAttribute("ImageUrl")] public class WebImageViewer : WebControl |
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 WebControl |
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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family