HistogramFlags property (LEADDlgImage Control)

C++ Builder example

Delphi 4.0 example

 

Builder Syntax

L_UINT HistogramFlags

Delphi Syntax

HistogramFlags: L_UINT

Overview

Refer to Using Imaging Common Dialogs.

Remarks

Gets or sets a value used to determine which bits to use when calculating the histogram in the Histogram dialog box. This value is used only if the bitmap is 12 or 16-bit grayscale. Possible values are:

Value

Meaning

HIST_LOWHIGH_BITS

[$0000] Use the only the bits between the LowBit and HighBit values stored in the bitmap handle.

HIST_ALL_BITS

[$0010] Use all the bits for calculating the histogram (the LowBit and HighBit values from the bitmap handle are ignored.

See Also

Elements:

ShowHistogramDlg method.

Topics:

Imaging Common Dialogs: Properties, Methods, and Events