OriginalBitsPerPixel property (LEADDlgImage Control)

C++ Builder example

Delphi 4.0 example

 

Builder Syntax

L_UINT OriginalBitsPerPixel

Delphi Syntax

OriginalBitsPerPixel: L_UINT

Overview

Refer to Using Imaging Common Dialogs.

Remarks

Gets or sets the original bits per pixel, which is usually the bitmap bits per pixel, in the Resize dialog box.

The value set in this property will be used to calculate the size displayed in the Original Image Size static control and the New Image Size 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