←Select platform

TileSize Property (RasterMemoryThreshold)

Summary

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

Syntax

C#
VB
WinRT C#
C++
public int TileSize {get; set;} 
Public Property TileSize As Integer 
public int TileSize {get; set;} 
  
get_TileSize(); 
set_TileSize(value); 
Object.defineProperty('TileSize');  
public: 
property int TileSize { 
   int get(); 
   void set (    int ); 
} 

Property Value

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

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.

Example

For an example, refer to RasterDefaults.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools Assembly
Click or drag to resize