Visual Basic (Declaration) | |
---|---|
Public Property Levels As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public int Levels {get; set;} |
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.For XAML example, refer to PosterizeCommandBitmapEffect.
For C#/VB examples, refer to PosterizeCommandBitmapEffect.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, Windows Server 2008 family