Using Printing Capabilities

Start with the project you created in Setting the Digital Painting Properties.

  1. Add the following item to he File popup menu you created in Implementing the Paint Automation Initializing, Creating and Freeing.

    &Print   with ID = IDM_FILE_PRINT 

  2. Add the following code to the WndProc function before case IDM_EXIT and after the "return 0L ;" of the case IDM_FILE_OPEN in the WM_COMMAND message:

    case IDM_FILE_PRINT:  
    L_AutPrint ( pAutomation, 0 ) ;  
       return 0L ;  

  3. Compile and run the project by selecting Build->Execute tutorial.exe from the menu.

Help Version 22.0.2021.8.20
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Container and Automation C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.