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




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 PosterizeCommandBitmapEffect
Dim value As Integer
 
instance.Levels = value
 
value = instance.Levels
C# 
public int Levels {get; set;}
Managed Extensions for C++ 
public: __property int get_Levels();
public: __property void set_Levels( 
   int value
);
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

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