LDialogFile::GetPrintPreviewParams

#include "ltwrappr.h"

L_VOID LDialogFile::GetPrintPreviewParams(pPrintPreviewDlgParam, uStructSize) const;

LPPRINTPREVIEWDLGPARAMS pPrintPreviewDlgParam;

/* pointer to a structure */

L_UINT uStructSize;

/* size of PRINTPREVIEWDLGPARAMS structure */

Gets the parameters entered by the user, through the dialog displayed by the LDialogFile::DoModalPrintPreview function.

Parameter

Description

pPrintPreviewDlgParam

Pointer to a PRINTPREVIEWDLGPARAMS structure to be updated with the parameters entered by the user, through the dialog displayed by the LDialogFile::DoModalPrintPreview function.

uStructSize

The structure size for the input structure.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

This will update the passed structure with the class object's current settings for the internal PRINTPREVIEWDLGPARAMS structure.

Required DLLs and Libraries

LTDLGFILE
LTDLGKRN
LTDLGUTL
LTDLGCTRL
LTDLGCOM
LTFIL
LTDIS
LTIMG

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

Functions:

Class Members, LDialogFile::DoModalPrintPreview

Topics:

Using Imaging Common Dialog

Example

For an example, refer to LDialogFile::DoModalPrintPreview.