LEADTOOLS Image File Support (Leadtools.Codecs assembly)
LEAD Technologies, Inc

TileWidth Property






Gets or sets the width of the tile to use when saving TIFF files. .NET support WinRT support Silverlight support
Syntax
public int TileWidth {get; set;}
'Declaration
 
Public Property TileWidth As Integer
'Usage
 
Dim instance As CodecsTiffSaveOptions
Dim value As Integer
 
instance.TileWidth = value
 
value = instance.TileWidth
public int TileWidth {get; set;}
 get_TileWidth();
set_TileWidth(value);
public:
property int TileWidth {
   int get();
   void set (    int value);
}

Property Value

The width of the tile to use when saving TIFF files.
Remarks

When saving TIFF files, the size of the tiles or strips saved in the file can be controlled. Some graphic packages cannot load TIFF files unless the files are saved with a certain tile or strip size. LEADTOOLS can load files of any strip and tile size, so modifying these settings is not necessary when saving files that will be loaded with LEADTOOLS.

If the UseTileSize Property is not true, then TileWidth and TileHeight are ignored. In this case, the image will be saved like in the previous versions of LEADTOOLS.

If TileWidth is less than or equal to the image width, the image will be saved as tiles. If TileWidth is greater than the image width, the image will be saved as strips. If the image is saved as tiles, TileHeight controls the height of the tile. If the image is saved as strips, TileHeight controls the height of the strip. The image can be saved as one strip by setting TileHeight to a value greater than the image height.

Example
For an example, refer to CodecsTiffOptions.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CodecsTiffSaveOptions Class
CodecsTiffSaveOptions Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.