L_ContainerReset

Summary

Erases the contents of the container from the screen.

Syntax

#include "LtCon.h"

L_LTCON_API L_INT L_ContainerReset(pContainer)

Parameters

pCONTAINERHANDLE pContainer

Pointer to a container handle.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

This function erases the contents of the container from the screen drawing, but it does not reset the actual container data.

Required DLLs and Libraries

See Also

Functions

Topics

Example

This example will reset the container drawing contents.

L_INT ContainerResetExample(pCONTAINERHANDLE pContainer) 
{ 
   L_INT nRet; 
 
   nRet = L_ContainerIsValid ( pContainer ); 
   if (SUCCESS == nRet ) /* check the validity of container handle */ 
   { 
      /* Reset the container drawing on the screen (if any) */ 
      nRet = L_ContainerReset ( pContainer ) ; 
   } 
   return nRet; 
} 

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Container and Automation C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.