Leadtools.Windows.Media.Effects Send comments on this topic. | Back to Introduction - LEADTOOLS WPF | Help Version 16.5.9.25
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;}
C++/CLI 
public:
property int Levels {
   int get();
   void set (int value);
}
XAML Attributes Usage 

<object Levels =int >

Dependencies Property Information 

Identifier field

LevelsProperty

Metadata properties set to true

None

XAML Attributes Usage 

<object Levels =int >

Dependencies Property Information 

Identifier field

LevelsProperty

Metadata properties set to true

None

Return Value

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

Example

For XAML example, refer to PosterizeCommandBitmapEffect.

For C#/VB examples, refer to PosterizeCommandBitmapEffect.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, Windows Server 2008 family

See Also