Description

A property used to indicate wheter pixel values are integer or floating point.

Property type

A mcPixelDataType enumeration.  

Syntax

object.PixelDataType [= value]

The PixelDataType Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McImageType.
valueA mcPixelDataType enumeration, as described in settings.

Settings

The settings for value are:

ConstantValueDescription
 mcpdtAnyType0

current band type

 mcpdtInteger1

pixels hold integral values

 mcpdtFloat2

numbers are floating point

Remarks

Note that the properties are not verified in context with each other, also there is no interaction -- setting the McImageType object to Monochrome does not set NumberOfChannels to one; the client must explicitlly do it.

Exceptions

E_POINTER implies the argument pointer is invalid. E_INVALIDARG indicates the client is attempting to set the property to an invalid value.