Hide

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

Display
Print

CSftPrintPreview_Main::OnPrintClearCache Function

The OnPrintClearCache virtual override is called when the printed/previewed output is reformatted.

C++

virtual void CSftPrintPreview_Main::OnPrintClearCache(
    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.

Returns

The OnPrintClearCache virtual override is called when the printed/previewed output is reformatted.

Comments

The OnPrintClearCache virtual override is called when the printed/previewed output is reformatted.

It is intended to notify the application that page formatting information needs to be recalculated, because the page and printer attributes have changed, causing all pages to require reformatting. For additional information, please see Page Management.

This function is only used for application-generated output.

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


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