formZ SDK | 5.0 API Reference | System | Text Fonts and Styles

fz_font_get_next

Description

Given a font id, get the id of the next font loaded in formZ. This can be used to iterate over all fonts loadedin formZ. Passing in FZ_FONT_NONE for font_id will set next_font_id to the id of the first font. next_font_id will be set to FZ_FONT_NONE to indicate the end of the fonts.

Plugin Prototype

fzrt_error_td fz_font_get_next(

fzrt_int

windex,

fz_font_id_td

font_id,

fz_font_id_td *

next_font_id )

Parameters

windex [Input]

project window index, use -1 to access the font table

font_id [Input]

font id

next_font_id [Result]

the next font id

Returns

Error codes

Availability

5.5.0.0

Example Files

util_objt_unistr_text.fsl

Function Set

fz_text_fset


Defined in

fz_text_api.h