formZ SDK | 4.0 Call Back Reference | Command | Tool

fz_tool_cbak_icon_file

Description

Tool icon from file (Optional). This function is called by formZ to load an icon for the tool from an image file. The image file can be in any supported image file format (or of an image format which is an image file translator plugin). It is recommended to use the TIFF image format as it is a cross platform supported format and is always present. The source graphics are identified in the file by indicating the top left corner of the graphic in the file. In addition to the graphic, a mask can be provided for use when the icon is highlighted. A single file can be used for multiple icons across a variety of plugins by creating a grid of icons in the file and specifying the location for each icon.

Plugin Prototype

fzrt_error_td fz_tool_cbak_icon_file(

fzrt_floc_ptr

floc )

Parameters

floc [Result]

file location of file which contains the icon.

Returns

Error codes

Availability

7.0.0.0

See Also

Function Set

fz_tool_cbak_fset


Defined in

fz_tool_api.h