CurrentWidth Property (ILEADRasterDlgImg)

Visual Basic example

Visual C++ example

 

Syntax

long CurrentWidth;

Overview

Refer to Using Imaging Common Dialogs

Remarks

Gets or sets the current width.

The CurrentWidth property is associated with the following dialog boxes:

Resize dialog box:

In this case it represents the original width (usually the bitmap width) in the Resize dialog box. The value must not be less than 1. The CurrentWidth property value will be used through the dialog to calculate the width percentage and the aspect ratio. The value set in this property will be displayed in the Original Image Width static control. Notice that setting the bitmap will not compensate for not setting the appropriate value in this property.

CanvasResize dialog box:

In this case it represents current width in the CanvasResize dialog box. The value of this property will be displayed in the Current Width static control. Thisvalue may be equal to the bitmap width.

See Also

Elements

ShowResizeDlg method