Description

Returns a string giving the name of the type's interpretation or of a channel

Return Type

A String value.  

A displayable name for the type Interpretation or given Channel.

Syntax

object.NameOfTypeOrChannel ([Channel])

The NameOfTypeOrChannel Method syntax has these parts:

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

long : If the default value of mcwcAllChannels (-1), then a displayable name of the type's Interpretation property is returned (e.g., Monochrome, RGB, HSI, etcetera). Otherwise a name for the given zero-based channel index is returned (e.g., Red, Hue, etcetera).

Remarks

This method returns a short displayable name for the type's interpretation or the channel (e.g., for Interpretation “RGB”, Channel 0 is “Red”, Channel 1 is “Green” and Channel 2 is “Blue”). The names are intended for use where space is tight, so they are short. The English version of the Interpretation names are all less than 11 characters and the channel names are all less than 7 characters.

Notes

The returned values are localized.