LEADTOOLS WPF and Silverlight (Leadtools.Windows.Media.Effects assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
Amount Property
See Also 
Leadtools.Windows.Media.Effects Namespace > SharpenEffect Class : Amount Property



Gets or sets the amount to change the sharpness. This is a dependency property. Supported in Silverlight

Syntax

Visual Basic (Declaration) 
Public Property Amount As Double
Visual Basic (Usage)Copy Code
Dim instance As SharpenEffect
Dim value As Double
 
instance.Amount = value
 
value = instance.Amount
C# 
public double Amount {get; set;}
C++/CLI 
public:
property double Amount {
   double get();
   void set (    double value);
}

Property Value

The amount to change the sharpness.Negative sharpness values decrease the sharpness of the image and positive sharpness values increase the sharpness. Default value is 1.

Example

For XAML example, refer to SharpenEffect.

For C#/VB examples, refer to SharpenEffect.

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also