Maptitude GISDK Help

GetTIFFDimensions()

Summary

Gets the number of rows and columns in a TIFF image.

 

Syntax

dims = GetTIFFDimensions(string filename)

 

Argument Contents
filename The name of the TIFF file

 

Returns

An options array with the dimensions of the TIFF image:

 

Element Type Contents
Rows Integer Number of rows
Cols Integer Number of columns

 

Notes

Example

folder = RunMacro("G30 Tutorial Folder")

dims = GetTIFFDimensions(folder + "hartford.tif")

ShowMessage("The TIFF image has " + String(dims.Rows) + " rows and " +

    String(dims.Cols) + " columns")

 

See Also

Function Summary
AddImageLayer() Adds an image layer to a map
GetImageFileInfo() Gets information about a raster image file

 

 

©2025 Caliper Corporation www.caliper.com