formZ SDK | 4.0 Call Back Reference | File Translator

# fz_ffmt_cbak_icon_file

Description

Gets the icon associated with a file format. Gets the icon from files. One file for the icon's color data, the other file for the icon's mask.

Plugin Prototype

fzrt_error_td fz_ffmt_cbak_icon_file(

fzrt_floc_ptr | floc,
fzrt_int * | hpos,
fzrt_int * | vpos,
fzrt_floc_ptr | floc_mask,
fzrt_int * | hpos_mask,
fzrt_int * | vpos_mask )

Parameters

floc [Result]

file location of file which contains the icon.

hpos [Result]

left horizontal location of icon data in file.

vpos [Result]

top vertical location of icon data in file.

floc_mask [Result, Optional]

file location of file which contains the icon mask data.

hpos_mask [Result, Optional]

left horizontal location of icon mask data in file.

vpos_mask [Result, Optional]

top vertical location of icon mask data in file.

Returns

FZRT_NOERR if the IO was successful. An error otherwise.

Availability

5.0.0.0

Function Set

fz_ffmt_cbak_info_fset

Defined in

fz_ffmt_api.h