L_AutPrint

Summary

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

Syntax

#include "ltaut.h"

L_LTAUT_API L_INT L_AutPrint(pAutomation, dwFlags)

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 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 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.