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

fz_objt_edit_text_get_string

Description

Gets a text object's string. max_length characters are copied into str. str must be allocated by the calling function and must be at least max_length*sizeof( fzrt_uni_char) bytes.

Plugin Prototype

fzrt_error_td fz_objt_edit_text_get_string(

fzrt_int

windex,

fz_objt_ptr

obj,

fzrt_uni_char *

str,

fzrt_int

max_length )

Parameters

windex [Input]

project window index

obj [Input]

text object

str [Result]

the string

max_length [Input]

The maximum number of characters to copy into str

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