Description

The calibrated (depending on Mode) maximum of all the bin x values (calibrated intensity).

Property type

A Variant value.  

Syntax

object.Max([Channel])

The Max Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McHistogram.
ChannelOptional. A Long value.

Optional Channel index, default value -1 means all channels.

Remarks

The Compute method is called automatically (on the parent IMcImage) whenever it is necessary. In order to compute the Histogram on another image than the parent, one has to call Compute explicitly.

This property returns an array of NumberOfChannels values if Channel=-1, or otherwise a single double precision floating point value for the specified channel. Note that since most property viewers (including the VBA Immediate window) will only display single (scalar) values, the channel must be specified when the property is used in this way, for instance, ?ActiveImage.Histogram.Sum 0

Exceptions

Exception: Meaning:

E_INVALIDARG