NewHeight Property (ILEADRasterDlgImg)

Visual Basic example

Visual C++ example

 

Syntax

short NewHeight;

Overview

Refer to Using Imaging Common Dialogs

Remarks

Gets or sets the width value in the Resize dialog box.

Resize dialog box:

The value set must not exceed the maximum set in the MaxNewWidth property. In addition, if you set RESIZE_MAINTAINASPECT in the UIFlags property before calling the ShowResizeDlg method you must be sure that the NewHeight and NewWidth properties have the same aspect ratio as the CurrentWidth and CurrentHeight properties. Otherwise, both the NewWidth and NewHeight property values will be replaced with the CurrentWidth and CurrentHeight property values respectively. If you set this property to 0 the dialog's initial width value will equal the value of the CurrentWidth property.

CanvasResize dialog box:

It represents the new width entered by the user.

See Also

Elements

ShowResizeDlg method