Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.17
TileHeight Property
See Also 
Leadtools.Codecs Namespace > CodecsTiffSaveOptions Class : TileHeight Property




Gets or sets the height of the tile to use when saving TIFF files.

Syntax

Visual Basic (Declaration) 
Public Property TileHeight As Integer
Visual Basic (Usage)Copy Code
Dim instance As CodecsTiffSaveOptions
Dim value As Integer
 
instance.TileHeight = value
 
value = instance.TileHeight
C# 
public int TileHeight {get; set;}
Managed Extensions for C++ 
public: __property int get_TileHeight();
public: __property void set_TileHeight( 
   int value
);
C++/CLI 
public:
property int TileHeight {
   int get();
   void set (int value);
}

Return Value

The height of the tile to use when saving TIFF files.

Example

For an example, refer to CodecsTiffOptions.

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.

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