formZ SDK | 4.0 Call Back Reference | File Translator

fz_ffmt_cbak_is_file

Description

Checks if a file's format is supported by a translator. This function can either check the first size bytes (read by formZ) to see if a proper format identifier exists or it can open the file and read the appropriate format identification data.

Plugin Prototype

fzrt_boolean fz_ffmt_cbak_is_file(

fzrt_floc_ptr

floc,

const fzrt_ptr

data,

fzrt_int

size )

Parameters

floc [Input]

The file to read from.

data [Input]

The first size bytes of the file.

size [Input]

The size of the data.

Returns

TRUE if the translator supports the file's format. FALSE if not.

Availability

5.0.0.0

Function Set

fz_ffmt_cbak_info_fset


Defined in

fz_ffmt_api.h