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

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, Windows Server 2008 family

See Also