Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.3.5
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;}
Managed Extensions for C++ 
public: __property int get_TileSize();
public: __property void set_TileSize( 
   int value
);
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 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