getFileFormat

The function gets the FileFormat structure with info about file format.

  1. FileFormat getFileFormat(string filepath, string additExt)
    getFileFormat
    (
    string filepath
    ,
    string additExt
    )
  2. FileFormat getFileFormat(string filepath)

Parameters

filepath string

Path to required file.

additExt string

File extension as hint for recognition algorithm. Not needed in most cases. Can be used if for some reason the file name does not have an extension.

Return Value

a FileFormat object containing some format information.

Meta