Leadtools.Web Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
TiledImageViewer Class
See Also  Members  
Leadtools.Web.Controls Namespace : TiledImageViewer Class




A LEADTOOLS Web TiledImageViewer control class used to display an image on an ASP.NET 2.0 web page, divided into tiles.

Syntax

Visual Basic (Declaration) 
<ToolboxDataAttribute("<{0}:TiledImageViewer runat=server ImageUrl= "" Width=320px Height=320px BorderWidth=1px BorderStyle=Solid></{0}:TiledImageViewer>")>
<ToolboxBitmapAttribute()>
<DefaultPropertyAttribute("ImageUrl")>
Public Class TiledImageViewer 
   Inherits WebControl
Visual Basic (Usage)Copy Code
Dim instance As TiledImageViewer
C# 
[ToolboxDataAttribute("<{0}:TiledImageViewer runat=server ImageUrl= "" Width=320px Height=320px BorderWidth=1px BorderStyle=Solid></{0}:TiledImageViewer>")]
[ToolboxBitmapAttribute()]
[DefaultPropertyAttribute("ImageUrl")]
public class TiledImageViewer : WebControl 
Managed Extensions for C++ 
[ToolboxDataAttribute("<{0}:TiledImageViewer runat=server ImageUrl= "" Width=320px Height=320px BorderWidth=1px BorderStyle=Solid></{0}:TiledImageViewer>")]
[ToolboxBitmapAttribute()]
[DefaultPropertyAttribute("ImageUrl")]
public __gc class TiledImageViewer : public WebControl 
C++/CLI 
[ToolboxDataAttribute("<{0}:TiledImageViewer runat=server ImageUrl= "" Width=320px Height=320px BorderWidth=1px BorderStyle=Solid></{0}:TiledImageViewer>")]
[ToolboxBitmapAttribute()]
[DefaultPropertyAttribute("ImageUrl")]
public ref class TiledImageViewer : public WebControl 

Example

Remarks

The TiledImageViewer can display any image file format supported by LEADTOOLS.

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

Set the ImageUrl property to a valid Image Url.

The TiledImageViewer control can automatically handle zooming and scrolling.

Use this class to create AJAX-style Web applications that deal with huge images such as Geospatial imaging applications like GoogleTM Earth. Only the portions of the image required for display are downloaded and compressed.

This Control works only on 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

Inheritance Hierarchy

System.Object
   System.Web.UI.Control
      System.Web.UI.WebControls.WebControl
         Leadtools.Web.Controls.TiledImageViewer

Requirements

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

See Also