LDialogImage::SetCanvasResizeParams

#include "ltwrappr.h"

L_INT LDialogImage::SetCanvasResizeParams(pCanvasResizeDlgParm)

LPCANVASRESIZEDLGPARAMS pCanvasResizeDlgParm;

/* pointer to a structure */

Sets the parameters to be displayed by the LDialogImage::DoModalCanvasResize function when the dialog first appears.

Parameter

Description

pCanvasResizeDlgParm

Pointer to a CANVASRESIZEDLGPARAMS structure that contains the parameters to be displayed by the LDialogImage::DoModalCanvasResize function.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

The parameters of the structure should be set before displaying the dialog.

Required DLLs and Libraries

LTDLGIMG
LTDLGKRN
LTDLGUTL
LTDLGCTRL
LTDLGCOM
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:

LDialogImage::DoModalCanvasResize, Class Members

Topics:

Using Imaging Common Dialog

Example

For an example, refer to LDialogImage::DoModalCanvasResize.