Leadtools.Web Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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);
}
JavaScript 
getTileSize(): Leadtools.Topics.ltwfSize ;
setTileSize(value: Leadtools.Topics.ltwfSize );

Return 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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also