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

# fzrt_get_text_size

Description

Gets the current text font size. The font size is the size in pixels of the fonts ascent plus descent.

Plugin Prototype

short fzrt_get_text_size(

fzrt_graf_ptr | port_param )

Parameters

port_param [Input, Optional]

pointer to graphics port. NULL to use current port

Returns

The font size, in pixels

Availability

5.0.0.0

Function Set

fz_fzrt_graf_fset

Defined in

fzrt_api.h