Leadtools.Windows.Media.Effects Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.02.15
Sharpness Property
See Also 
Leadtools.Windows.Media.Effects.Effects Namespace > SharpenCommandBitmapEffect Class : Sharpness Property





Gets or sets the amount to change the sharpness.

Syntax

Visual Basic (Declaration) 
Public Property Sharpness As Integer
Visual Basic (Usage)Copy Code
Dim instance As SharpenCommandBitmapEffect
Dim value As Integer
 
instance.Sharpness = value
 
value = instance.Sharpness
C# 
public int Sharpness {get; set;}
Managed Extensions for C++ 
public: __property int get_Sharpness();
public: __property void set_Sharpness( 
   int value
);
C++/CLI 
public:
property int Sharpness {
   int get();
   void set (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.

Example

For XAML example, refer to SharpenCommandBitmapEffect.

For C#/VB examples, refer to SharpenCommandBitmapEffect.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003

See Also