| Maptitude GISDK Help |
Gets the number of rows and columns in a TIFF image.
dims = GetTIFFDimensions(string filename)
| Argument | Contents |
|---|---|
| filename | The name of the TIFF file |
An options array with the dimensions of the TIFF image:
| Element | Type | Contents |
|---|---|---|
| Rows | Integer | Number of rows |
| Cols | Integer | Number of columns |
The dimensions can be accessed as dims.Rows and dims.Cols.
folder = RunMacro("G30 Tutorial Folder")
dims = GetTIFFDimensions(folder + "hartford.tif")
ShowMessage("The TIFF image has " + String(dims.Rows) + " rows and " +
String(dims.Cols) + " columns")
| Function | Summary |
|---|---|
| AddImageLayer() | Adds an image layer to a map |
| GetImageFileInfo() | Gets information about a raster image file |
| ©2025 Caliper Corporation | www.caliper.com |