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



Gets or sets the number of color levels to use.

Syntax

Visual Basic (Declaration) 
Public Property Levels As Integer
Visual Basic (Usage)Copy Code
Dim instance As PosterizeCommand
Dim value As Integer
 
instance.Levels = value
 
value = instance.Levels
C# 
public int Levels {get; set;}
C++/CLI 
public:
property int Levels {
   int get();
   void set (int value);
}

Return Value

The number of color levels to use. Valid values are 2 through 64.

Example

Refer to PosterizeCommand.

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