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

# fz_objt_edit_text_delete_text

Description

Deletes a range of text from a text object's string. The deleted text is specified by the inclusive range from start_char to end_char.

Plugin Prototype

fzrt_error_td fz_objt_edit_text_delete_text(

fzrt_int | windex,
fz_objt_ptr | obj,
fzrt_int | start_char,
fzrt_int | end_char )

Parameters

windex [Input]

project window index

obj [Input]

text object

start_char [Input]

the character index to start deleting

end_char [Input]

the character index of the last character to delete

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