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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Container and Automation C++ Class Library Help