Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
TileSize Property
See Also 
Leadtools Namespace > RasterMemoryThreshold Structure : TileSize Property



Gets or sets a value that specifies the size for a size of the tile for tiled images.

Syntax

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

Return Value

An integer value that specifies the size for a size of the tile for tiled images. Default is 0

Example

For an example, refer to RasterDefaults.

Remarks

The value for TileSize must be less than the value of MaximumConventionalSize.

All images with a size smaller than TileSize will be allocated as conventional. (A tiled image of a size smaller than TileSize would consist of only small tile, which is the equivalent of the conventional image).

If TileSize is 0, then LEADTOOLS will pick a default size for the tile. (Currently it is 16MB)

The tiles will be smaller than this value and will be a complete number of rows. No rows will be split between tiles.

Values less than 0 are not allowed.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also