CT Index to color

4D - Documentation   Français   English   German   4D Chart, Command Theme List   4D Chart, Command Alphabetical List   Back   Previous   Next

version 1


CT Index to color (index) Longint

ParameterTypeDescription
indexIntegerPalette index
Function resultLongintColor described by index

Description

CT Index to color returns the color described by index.

Index is an integer that specifies a particular color on the 4th Dimension color palette. Colors on the 4th Dimension palette are numbered from 1 to 256.

CT Index to color is a convenient way to specify a color without knowing the individual components.

Example

This example places the color value of the color Cyan (palette index #8) into the vColor variable:

   vColor:=CT Index to color(8)

See Also

CT Color to index, CT COLOR TO RGB, CT RGB to color.


4D - Documentation   Français   English   German   4D Chart, Command Theme List   4D Chart, Command Alphabetical List   Back   Previous   Next