Leadtools.Windows.Media.Effects Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.8.31
NewColor Property
See Also 
Leadtools.Windows.Media.Effects.Color Namespace > GrayScaleToDuotoneCommandBitmapEffect Class : NewColor Property




Array of Color structures that specifies an array of colors that will be mixed with the original gray values.

Syntax

Visual Basic (Declaration) 
Public Property NewColor As Color()
Visual Basic (Usage)Copy Code
Dim instance As GrayScaleToDuotoneCommandBitmapEffect
Dim value() As Color
 
instance.NewColor = value
 
value = instance.NewColor
C# 
public Color[] NewColor {get; set;}
Managed Extensions for C++ 
public: __property Color[] get_NewColor();
public: __property void set_NewColor( 
   Color[] value
);
C++/CLI 
public:
property array<Color> NewColor {
   array<Color> get();
   void set (Colorarray<value> value);
}

Return Value

Array of Color structures that specifies an array of colors that will be mixed with the original gray values. If this parameter is set to null, the Color property must contain a valid color. Pass null when you want the command to create the array of colors, two colors when replacing both colors in a binary image, or 256 colors when using a custom array of colors.

Example

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also