Leadtools.ImageProcessing.Color Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.10
Gradient Property
See Also 




Gets or sets a user-defined two dimensional array of RasterColor structures that will hold the set of color shade gradients.

Syntax

Visual Basic (Declaration) 
Public Property Gradient As RasterColor()
Visual Basic (Usage)Copy Code
Dim instance As GrayScaleToMultitoneCommand
Dim value() As RasterColor
 
instance.Gradient = value
 
value = instance.Gradient
C# 
public RasterColor[] Gradient {get; set;}
Managed Extensions for C++ 
public: __property RasterColor[] get_Gradient();
public: __property void set_Gradient( 
   RasterColor[] value
);
C++/CLI 
public:
property array<RasterColor> Gradient {
   array<RasterColor> get();
   void set (RasterColorarray<value> value);
}

Return Value

User-defined two dimensional array of RasterColor structures that will hold the set of color shade gradients. This property is used when the Distribution property is set to UserDefined.

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