formZ SDK | 5.0 API Reference | System | Runtime Library (FZRT) | Graphics

# fzrt_get_fnum

Description

Gets the font ID. This will retrieve the font ID of a font with the given name. The name is the name of a font family (e.g. Arial)

Plugin Prototype

fzrt_error_td fzrt_get_fnum(

const char * | name,
short * | familyID )

Parameters

name [Input]

name of the font to retrieve.

familyID [Result]

the ID of the font.

Returns

FZRT_NOERR if successful, error id otherwise.

Availability

5.0.0.0

Function Set

fz_fzrt_graf_fset

Defined in

fzrt_api.h