2.16.3.14 Details of TreeNodes in Import Image


File Info

Syntax: Info.Treenode:=<value>

Example: Info.TifAsData:=1 // Specify the import grayscale GeoTIFF as data

Treenode Label Type Default Description
TifAsData Import Grayscale GeoTIFF as Data int 0 Specify whether or not to show the thumbnails of imported images.


Options

The Options tree specifies all import options for the impImage X-Function.

Syntax: Options.Treenode:=<value>

Example: Options.FirstMode:=0 // Specify the import mode for the 1st file


Treenode Label Type Default Description
thumbnail Show Image Thumbnails int 2 Specify whether or not to show the thumbnails of imported images.
  • 0:No
    Show no thumbnails of imported images
  • 1:Yes
    Always show the thumbnails of imported images
  • 2:Only if Multiple
    Snow thumbnails only if the imported image has multiple frames.
FirstMode 1st File Import Mode int 0 Specify the import mode for the 1st file. Options include:
  • 0:Replace Existing Data
    The data that exists in the target window will be wiped out. And the new data will be imported into it.
  • 3:Start New Books
    Create a new book for the file that will be imported.
  • 4:Start New Sheets
    Create a new sheet for the file that will be imported.
  • 5:Start New Objects
    Create a new matrix object for the file if the dimension is the same with the existing object's.
Mode Multi-File (except 1st) Import Mode int 5 Specify the import mode from the list for the files other than 1st. Options include:
  • 3:Start New Books
    Create a new book for the file that will be imported.
  • 4:Start New Sheets
    Create a new sheet for the file that will be imported.
  • 5:Start New Objects
    Create a new matrix object for the file that will be imported.
names.FNameToSht Rename Sheet with Filename int 1 Specify whether or not to rename the matrix sheet name with the file name.
names.FNameToBk Rename Book with Filename int 1 Specify whether or not to rename the matrix book with the file name.
names.FNameToBkLnOnly Rename Long Name for Book only int 0 It is only available when names.FNameToBk is 1. If 1, only rename the long name of the matrix book.
names.FPathToBk Include File Path when Renaming Book int 0 It is only available when names.FNameToBk is 1. Specify whether or not to include the file path to rename the matrix book.