L_AutPrint

#include "ltaut.h"

L_LTAUT_API L_INT L_AutPrint(pAutomation, dwFlags)

Prints the objects in the active automation container that are currently displayed on the screen.

Parameters

pAUTOMATIONHANDLE pAutomation

Pointer to an automation handle.

L_UINT32 dwFlags

Reserved for future use. Must be 0.

Returns

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

Comments

To erase the contents of a container from the screen, call L_ContainerReset.

Required DLLs and Libraries

See Also

Topics

Example

This example shows how to print the automation data.

L_INT AutPrintExample( pAUTOMATIONHANDLE pAutomation ) 
{ 
   L_INT nRet; 
   nRet = L_AutIsValid ( pAutomation ); 
   if ( SUCCESS == nRet) /* check the validity of the automation handle */ 
   { 
      /* print the active automation container data */ 
      nRet = L_AutPrint ( pAutomation, 0 ) ; 
      if(nRet != SUCCESS) 
         return nRet; 
 
      return SUCCESS ; 
   } 
   else 
   { 
      return nRet ; 
   } 
}  

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

LEADTOOLS Container and Automation C API Help