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 ;
}
}