OriginalWidth property (LEADDlgImage Control)

C++ Builder example

Delphi 4.0 example

 

Builder Syntax

L_UINT OriginalWidth

Delphi Syntax

OriginalWidth: L_UINT

Overview

Refer to Using Imaging Common Dialogs.

Remarks

Gets or sets the original width, which is usually the bitmap width, in the Resize dialog box.

The value must not be less than 1. OriginalWidth 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.

See Also

Elements:

ShowResizeDlg method

Topics:

Imaging Common Dialogs: Properties, Methods, and Events