Skip to content

clear_text_modelClearTextModelClearTextModelclear_text_modelT_clear_text_model🔗

Short description🔗

clear_text_modelClearTextModelClearTextModelclear_text_modelT_clear_text_model — Clear a text model.

Signature🔗

clear_text_model( text_model TextModel )void ClearTextModel( const HTuple& TextModel )static void HOperatorSet.ClearTextModel( HTuple textModel )def clear_text_model( text_model: MaybeSequence[HHandle] ) -> None

Herror T_clear_text_model( const Htuple TextModel )

static void HTextModel::ClearTextModel( const HTextModelArray& TextModel )

void HTextModel::ClearTextModel( ) const

static void HTextModel.ClearTextModel( HTextModel[] textModel )

void HTextModel.ClearTextModel( )

Description🔗

clear_text_modelClearTextModel clears the text model in TextModeltextModeltext_model and frees all underlying memory.

Execution information🔗

Execution information
  • Multithreading type: reentrant (runs in parallel with non-exclusive operators).

  • Multithreading scope: global (may be called from any thread).

  • Processed without parallelization.

This operator modifies the state of the following input parameter:

During execution of this operator, access to the value of this parameter must be synchronized if it is used across multiple threads.

Parameters🔗

TextModeltextModeltext_model (input_control, state is modified) text_model(-array) → (handle)HTuple (HHandle)HTextModel, HTuple (IntPtr)MaybeSequence[HHandle]Htuple (handle)

Text model to be cleared.

Result🔗

clear_text_modelClearTextModel returns the value 2 (H_MSG_TRUE).

Combinations with other operators🔗

Combinations

See also

create_text_model_readerCreateTextModelReader

Module🔗

OCR/OCV