Leadtools.Web Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
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;}
Managed Extensions for C++ 
public: __property Size get_TileSize();
public: __property void set_TileSize( 
   Size value
);
C++/CLI 
public:
property Size TileSize {
   Size get();
   void set (Size value);
}

Return Value

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

Example

Refer to OpenImageUrl

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