MultitoneColors property (ILEADRasterProcess)

Visual Basic example

Visual C++ example

 

Syntax

OLE_COLOR MultitoneColors (short iIndex);

Overview

Refer to Grayscale Images

Remarks

Gets or sets an array of RGB colors, that will be added to the grayscale bitmap. This property is ignored when the DistType parameter of GrayScaleToMultitone is set to DT_USER. If the toolkit is generating the gradient colors, the user sets the desired base color(s) in this parameter when GrayScaleToMultitone is called. The number of entries in the array depends on the value of ToneType: 1 for DT_MONOTONE, 2 for DT_DUOTONE, 3 for DT_TRITONE, 4 for DT_QUADTONE. When the toolkit generates the array of gradient colors, this parameter will be updated with that array.

See Also

Elements:

GrayScaleToMultitone method, MultitoneGradient property

Topics:

Using Color Values in LEADTOOLS