formZ SDK | 5.0 API Reference | Project | File Formats

fz_ffmt_translator_iter_get_first

Description

Gets the first translator's format reference from a translator enumerator. This starts the enumeration of the translators. To get the first translator's format reference id call . After call until nxt_ref_td is FZ_FFMT_NONE to get the file format reference ids that follow. nxt_ffmt_id will be set to FZ_FFMT_NONE to indicate the end of the enumeration.

Plugin Prototype

fzrt_error_td fz_ffmt_translator_iter_get_first(

fz_ffmt_translator_iter_ptr

ffmt_enum,

fz_ffmt_ref_td *

first_ffmt_id )

Parameters

ffmt_enum [Input]

The translator enumerator to initialize.

first_ffmt_id [Result]

The next file format reference id. This is set to FZ_FFMT_NONE when the end is reached.

Returns

FZRT_NOERR on success. An error otherwise.

Availability

5.0.0.0

See Also

fz_ffmt_translator_iter_ptr, fz_ffmt_translator_class_enum, fz_ffmt_translator_iter_init, fz_ffmt_translator_iter_finit , fz_ffmt_translator_iter_get_by_index,

Function Set

fz_ffmt_fset


Defined in

fz_ffmt_api.h