FDType()

  FDType

Description

FDType() is used to retrive type of the indicate open file.

Call Signature

string FDType ( int/string filespec )

Return Value

string

For files opened with DBOpen() the type is the three letter short code for the format of the file (eg. TIF for TIFF, or PIX for PCIDSK). Files opened with TextOpen() will return "TXT", and files opened with DKOpen() will return "OTHER".

Argument

int/string filespec:

This can either be the handle returned by DKOpen()/TextOpen()/DBOpen(), or the name of such a file.

© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.