LEADTOOLS WebForms and AJAX (Leadtools.Web assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
TileSize Property
See Also 
Leadtools.Web.Controls Namespace > WebImageViewer Class : TileSize Property



Gets or sets the tile size (width/height) in pixels used when dividing the image into blocks.

Syntax

Visual Basic (Declaration) 
Public Property TileSize As Size
Visual Basic (Usage)Copy Code
Dim instance As WebImageViewer
Dim value As Size
 
instance.TileSize = value
 
value = instance.TileSize
C# 
public Size TileSize {get; set;}
C++/CLI 
public:
property Size TileSize {
   Size get();
   void set (    Size value);
}

Property Value

The size (width\height) in pixels of the tiles that the image is divided.

Example

Remarks

Default tile size is 400x400. With larger images you need to choose a good tile size to avoid heavy server load that may causes a Bottleneck to you application. Minimum tile size is 256x256.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also