| Visual Basic (Declaration) | |
|---|---|
Public Property Sharpness As Integer | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public int Sharpness {get; set;} | |
| XAML Attributes Usage | |
|---|---|
<object Sharpness =int > | |
| Dependencies Property Information | |
|---|---|
Identifier field | SharpnessProperty |
Metadata properties set to true | None |
| XAML Attributes Usage | |
|---|---|
<object Sharpness =int > | |
| Dependencies Property Information | |
|---|---|
Identifier field | SharpnessProperty |
Metadata properties set to true | None |
Return Value
The amount to change the sharpness. Valid values range from -1000 to +1000. Negative sharpness values decrease the sharpness of the image. Specify -1000 for minimum sharpness. Positive sharpness values increase the sharpness. Specify +1000 for maximum sharpness.For XAML example, refer to SharpenCommandBitmapEffect.
For C#/VB examples, refer to SharpenCommandBitmapEffect.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, Windows Server 2008 family