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
InputSize Property
See Also 
Leadtools.Windows.Media.Effects Namespace > SharpenEffect Class : InputSize Property



Gets or sets the size of the optional brush that represents the result of this effect. This is a dependency property. Supported in Silverlight

Syntax

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

Property Value

A System.Windows.Size that specifies the size of the optional result of this effect. Default value is 800 by 600.

Remarks

You can use the Input property to specify a brush that will contain the result of applying this effect to accomplish tasks such as using a System.Windows.Media.Imaging.RenderTargetBitmap to cascade different shaders or save the result of the effect on an image.

If you set the Input property of this class, you must also set the InputSize to specify the size of the brush.

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