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

fz_objt_text_interactive_search_find_next

Description

Gets the next instance of matching text. This gets the text object and the start and end characters in the string of text that matches the search parameters. This also sets the current results to that which is returned. If the object contains multiple ranges of text which match the search parameters, successive calls to this function will return the same object but with different start and end characters. When all matching objects have been found, obj_ptr is set to NULL.

Plugin Prototype

fzrt_error_td fz_objt_text_interactive_search_find_next(

fz_text_interactive_search_data_ptr

data,

fz_objt_ptr *

obj_ptr,

fzrt_int *

start,

fzrt_int *

end )

Parameters

data [Input]

Interactive search data.

obj_ptr [Result]

The object containing the matching text.

start [Result]

The starting character of the matching text.

end [Result]

The last character of the maching text.

Returns

Error codes

Availability

6.0.0.0

Example Files

util_objt_text_search.fsl

See Also

fz_objt_text_interactive_search_init

Function Set

fz_model_fset


Defined in

fz_objt_text_api.h