Available in LEADTOOLS Imaging Pro, Vector, Document, and Medical Imaging toolkits. |
L_AutPrint
#include "ltaut.h"
L_LTAUT_API L_INT L_AutPrint(pAutomation, dwFlags)
pAUTOMATIONHANDLE pAutomation; |
/* pointer to an automation handle */ |
L_UINT32 dwFlags; |
/* reserved */ |
Prints the objects in the active automation container that are currently displayed on the screen.
Parameter |
Description |
pAutomation |
Pointer to an automation handle. |
dwFlags |
Reserved for future use. Must be 0. |
Returns
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
LTAUT For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application |
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 ; } }