Type Property

NI Vision for Visual Basic

Type Property

Syntax

CWIMAQPalette.Type

Data Type

CWIMAQPaletteTypes

You can use the following constants with this data type:

  • cwimaqPaletteBinary—Binary palette. Contains 16 cycles of 16 different colors. This periodic palette is appropriate for the display of binary and labeled images.
  • cwimaqPaletteGradient—Gradient palette. A gradation from red to white with a prominent range of light blue in the upper value range.
  • cwimaqPaletteGrayScale—Grayscale palette. A gradual gray level variation from black to white.
  • cwimaqPaletteRainbow—Rainbow palette. A gradation from blue to red with a prominent range of greens in the middle value range.
  • cwimaqPaletteTemperature—Temperature palette. A gradation of brown.
  • cwimaqPaletteUserDefined—A user-defined palette.

Purpose

One of the five predefined palettes, or a user-defined color table.

Remarks

Changing this property does not affect user-defined palette entries. To change them, use the Entries property.

See Also

Entries