MasterHistogram property (LEADDlgImage Control)

C++ Builder example

Delphi 4.0 example

 

Builder Syntax

L_UINT32 MasterHistogram [L_UINT uIndex]

Delphi Syntax

MasterHistogram [uIndex: L_UINT ]: L_UINT32

Overview

Refer to Using Imaging Common Dialogs.

Remarks

Gets or sets an array of unsigned integers that charts the number of times each intensity level occurs in the image. Set this property to initialize the master histogram chart in the Histogram dialog box. If this property is 0, then the LEADImage property must be assigned a Main Control that has a valid bitmap, and vice versa. The MasterHistogram, RedHistogram, GreenHistogram and BlueHistogram properties must all be valid to be considered as the source of the histogram tables.

Before using this property you have to set the MasterHistogramLen property to the size of this chart.

See Also

Elements:

ShowHistogramDlg method

Topics:

Imaging Common Dialogs: Properties, Methods, and Events