SftPrintPreview/DLL 2.0

CSftPrintPreview_Main::OnPrintOnePage

Softel vdm, Inc.

The OnPrintOnePage virtual override is called to print/preview one page.

C++

virtual void CSftPrintPreview_Main::OnPrintOnePage(
        CDC* pDC,
        LPSFTPRINTPREVIEW_DRAWINFO lpInfo);

Parameters

pDC

The device context used for page rendering.

lpInfo

A pointer to the SFTPRINTPREVIEW_DRAWINFO structure defining additional information about the current previewing and printing operation. 

Comments

The OnPrintOnePage virtual override is called to print/preview one page. 

It is responsible for all application-generated output.

This function is only used for application-generated output.

Example

Please see the PreviewPages sample.  All sample programs and complete sample source code can be found in the directory \Program Files\Softelvdm\SftPrintPreview DLL 1.0\Samples\MFC\.

See Also  C/C++ API  |  C++ Classes  |  Notifications


Feedback / comments / error reports for this topic
© 2016 - Softel vdm, Inc. - www.softelvdm.com