Automation Printing

LAutomation::Print provides a means of printing that data in the automation container that is currently displayed on the screen. The contents of a container displayed on the screen can be erased using LContainer::Reset.

The example below will print the automation data displayed on the screen.

/* this example shows how to print the automation data */ 
L_INT PrintTest (LAutomation &lauto) 
{ 
   if ( SUCCESS == lauto.IsValid () ) /* check the validity of the automation handle */ 
   { 
      /* print the automation active container data */ 
      lauto.Print () ; 
      return SUCCESS ; 
   } 
   else 
   { 
      return FAILURE ; 
   } 
} 

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++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.