HistDispToDC  Method

Description         Plots a computed histogram to a specified hDC.

Syntax                 bRet = [BIFilter.]HistDispToDC  hDC Dim Colors LowData HighData HistData left top right bottom select

Remarks             bRet                        BOOL             TRUE on success or FALSE on failure.

                            hDC                        LONGLONG Target object’s hDC property where the histogram is to be plotted.

                            Dim                         short                Color dimensions. 3 for 24 bit/pixel images, and 1 for others.

                            Colors                     short                Number of Colors. 2, 16 or 256.

                            LowData                Long*              Low Data.

                            HighData               Long*              High Data.

                            HistData                 Long*              Histogram Data.

                            left                          Long                Left side of the target rectangle.

                            top                          Long                Top of the target rectangle.

                            right                        Long                Right side of the target rectangle.

                            bottom                    Long                Bottom of the target rectangle.

                            select                       Long                Selected color channel to be plotted.

Returns               bRetl                       BOOL             TRUE on success or FALSE on failure.

See Also