formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Control Objects | Text Object

# fz_objt_edit_text_get_string_length

Description

Gets the length of a text object's string. This length is in utf16 unicide characters (each character is two bytes).

Plugin Prototype

fzrt_error_td fz_objt_edit_text_get_string_length(

fzrt_int | windex,
fz_objt_ptr | obj,
fzrt_int * | length )

Parameters

windex [Input]

project window index

obj [Input]

text object

length [Result]

the number of characters in the object's text string.

Returns

Error codes

Availability

5.5.0.0

Example Files

util_objt_unistr_text.fsl

Function Set

fz_model_fset

Defined in

fz_objt_text_api.h