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

fzrt_char_width

Description

Gets the width of a character. This will return the width of the specified char using the current font family, size, and style selected into the current drawing port.

Plugin Prototype

short fzrt_char_width(

short

ch )

Parameters

ch [Input]

character to get the width

Returns

Width of character, in pixels, if drawn to current port.

Availability

5.0.0.0

Function Set

fz_fzrt_graf_fset


Defined in

fzrt_api.h