clear_text_modelT_clear_text_modelClearTextModelClearTextModelclear_text_model (Operator)

Name

clear_text_modelT_clear_text_modelClearTextModelClearTextModelclear_text_model — Clear a text model.

Signature

clear_text_model( : : TextModel : )

Herror T_clear_text_model(const Htuple TextModel)

void ClearTextModel(const HTuple& TextModel)

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

void HTextModel::ClearTextModel() const

static void HOperatorSet.ClearTextModel(HTuple textModel)

static void HTextModel.ClearTextModel(HTextModel[] textModel)

void HTextModel.ClearTextModel()

def clear_text_model(text_model: MaybeSequence[HHandle]) -> None

Description

clear_text_modelclear_text_modelClearTextModelClearTextModelClearTextModelclear_text_model clears the text model in TextModelTextModelTextModelTextModeltextModeltext_model and frees all underlying memory.

Execution Information

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

TextModelTextModelTextModelTextModeltextModeltext_model (input_control, state is modified)  text_model(-array) HTextModel, HTupleMaybeSequence[HHandle]HTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Text model to be cleared.

Result

clear_text_modelclear_text_modelClearTextModelClearTextModelClearTextModelclear_text_model returns the value 2 ( H_MSG_TRUE) .

See also

create_text_model_readercreate_text_model_readerCreateTextModelReaderCreateTextModelReaderCreateTextModelReadercreate_text_model_reader

Module

OCR/OCV