clear_data_code_2d_model ( : : DataCodeHandle : )

Delete a 2D data code model and free the allocated memory

The operator clear_data_code_2d_model deletes a 2D data code model that was created by create_data_code_2d_model or read_data_code_2d_model. All memory used by the model is freed. The handle of the model is passed in DataCodeHandle. After the operator call it is invalid.


Parameters

DataCodeHandle (input_control)
datacode_2d -> integer
Handle of the 2D data code model.


Result

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


Parallelization Information

clear_data_code_2d_model is processed completely exclusively without parallelization.


Alternatives

clear_all_data_code_2d_models


See also

create_data_code_2d_model, read_data_code_2d_model


Module

Data Code



Copyright © 1996-2008 MVTec Software GmbH