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

# fz_objt_text_search_set_repl_unistr

Description

Gets the replace string of model text search parameters. Matching text will be replaced by this string if the action was set to FZ_TEXT_SRCH_ACTION_REPLACE in fz_objt_text_search_init.

Plugin Prototype

fzrt_error_td fz_objt_text_search_set_repl_unistr(

fz_text_search_parm_ptr | srch_parms,
fzrt_uni_char * | text,
fzrt_boolean | select )

Parameters

srch_parms [Input]

Search parameters.

text [Input]

The text to replace matching text with.

select [Input]

If TRUE, the text will be selected and text replacement will occur. Otherwise, the text replacement will not occur.

Returns

Error codes

Availability

6.0.0.0

Example Files

util_objt_text_search.fsl

See Also

fz_objt_text_search_init

Function Set

fz_model_fset

Defined in

fz_objt_text_api.h