Prints the objects in the active automation container that are currently displayed on the screen.
#include "ltwrappr.h"
L_INT LAutomation::Print (dwFlags=0)
Reserved for future use. Must be 0.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
To erase the contents of a container from the screen, call LContainer::Reset
This example shows how to print the automation data.
L_INT LAutomation_PrintExample(LAutomation &lauto)
{
L_INT nRet;
nRet = lauto.IsValid ();
if ( SUCCESS == nRet ) /* check the validity of the automation handle */
{
/* print the automtion active container data */
nRet = lauto.Print () ;
if(nRet != SUCCESS)
return nRet;
}
else
{
return nRet ;
}
return SUCCESS ;
}