Visual Basic (Declaration) | |
---|---|
Public Property Sharpness As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public int Sharpness {get; set;} |
Managed Extensions for C++ | |
---|---|
public: __property int get_Sharpness(); public: __property void set_Sharpness( int value ); |
XAML Attributes Usage | |
---|---|
<object Sharpness =int > |
Dependency 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, and Windows Server 2003