Skip to content

clear_bar_code_modelClearBarCodeModelClearBarCodeModelclear_bar_code_modelT_clear_bar_code_model🔗

Short description🔗

clear_bar_code_modelClearBarCodeModelClearBarCodeModelclear_bar_code_modelT_clear_bar_code_model — Delete a bar code model and free the allocated memory

Signature🔗

clear_bar_code_model( barcode BarCodeHandle )void ClearBarCodeModel( const HTuple& BarCodeHandle )static void HOperatorSet.ClearBarCodeModel( HTuple barCodeHandle )def clear_bar_code_model( bar_code_handle: MaybeSequence[HHandle] ) -> None

Herror T_clear_bar_code_model( const Htuple BarCodeHandle )

static void HBarCode::ClearBarCodeModel( const HBarCodeArray& BarCodeHandle )

void HBarCode::ClearBarCodeModel( ) const

static void HBarCode.ClearBarCodeModel( HBarCode[] barCodeHandle )

void HBarCode.ClearBarCodeModel( )

Description🔗

The operator clear_bar_code_modelClearBarCodeModel deletes a bar code model that was created by create_bar_code_modelCreateBarCodeModel. All memory used by the model is freed. The handle of the model is passed in BarCodeHandlebarCodeHandlebar_code_handle, which is invalid after the operator call.

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🔗

BarCodeHandlebarCodeHandlebar_code_handle (input_control, state is modified) barcode(-array) → (handle)HTuple (HHandle)HBarCode, HTuple (IntPtr)MaybeSequence[HHandle]Htuple (handle)

Handle of the bar code model.

Result🔗

The operator clear_bar_code_modelClearBarCodeModel returns the value 2 (H_MSG_TRUE) if a valid handle was passed and the referred bar code model can be freed correctly. Otherwise, an exception will be raised.

Combinations with other operators🔗

Combinations

See also

find_bar_codeFindBarCode

Module🔗

Bar Code