←Select platform

Colors Property

Summary

Gets or sets an array of RasterColor structures that contain the colors that will be added to the grayscale image.

Syntax
C#
VB
Objective-C
C++
Java
public RasterColor[] Colors { get; set; } 
Public Property Colors As RasterColor() 
@property (nonatomic, strong) NSMutableArray<LTRasterColor *> *colors 
public RasterColor[] getColors() 
public void setColors(RasterColor[] value) 
public: 
property array<RasterColor>^ Colors { 
   array<RasterColor>^ get(); 
   void set (    array<RasterColor>^ ); 
} 

Property Value

Array of RasterColor structures that contain the colors that will be added to the grayscale image. This property is ignored when the Distribution property is set to UserDefined. If the toolkit is generating the gradient colors, the user sets the desired base color(s) in this property when GrayScaleToMultitoneCommand is called. The number of entries in the array depends on the value of Tone: 1 for Monotone, 2 for Duotone, 3 for Tritone, 4 for Quadtone. When the toolkit generates the array of gradient colors.

Example

Refer to GrayScaleToMultitoneCommand.

Requirements

Target Platforms

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.ImageProcessing.Color Assembly