Description

Veifies the McImageType object contains a valid combination of property values..

Property type

A Boolean value.  

Syntax

object.IsValid

The IsValid Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McImageType.

Remarks

The various properties within an ImageType object may be incompatible with each other. For example, the properties may specify a Monochrome Interpretation with 4 channels per pixel - only one is permitted. A ImageType object is also considered invalid if any property is set to it's don't care value.

Only the Organization, PixelDataType, Interpretation, BitsPerChannel, and NumberOfChannels properties participate in the verification.

Exceptions

E_POINTER implies the result pointer is invalid.