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

# fzrt_string_width

Description

Gets the width of a string. This will return the width of the specified string using the current font family, size, style selected into the current port. The string is a C string.

Plugin Prototype

short fzrt_string_width(

char * | s )

Parameters

s [Input]

String to measure C string

Returns

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

Availability

5.0.0.0

Function Set

fz_fzrt_graf_fset

Defined in

fzrt_api.h