Hide

SftPrintPreview/DLL 2.0 - Print Preview Control for C/C++

Display
Print

CSftPrintPreview_Main::OnPrintOnePage Function

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 2.0\Samples\MFC\.

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


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.