Description

A method used to specify the range of pixels values of interest to the image masking operation. Default range is 1 through 255.

Return Type

None  

Syntax

object.SetMaskingRange lRangeLow, lRangeHigh

The SetMaskingRange Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McDisplay.
lRangeLowRequired. A Long value.

long : The lower limit.

lRangeHighRequired. A Long value.

long : The higher limit.

Remarks

When the viewer overlays the image with the masking image, mask pixel values outside of the range are ignored. If within the range, the mask pixel value is used as an index into a color lookup table. The resulting color is then overlaid onto the display image.

Exceptions

E_INVALIDARG values must be between 0 and 255, inclusive. Also, lRangeLow must be less then or equal to lRangeHigh.