Visual Basic (Declaration) | |
---|---|
Public Property InputSize As Size |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As EdgeDetectEffect Dim value As Size instance.InputSize = value value = instance.InputSize |
C# | |
---|---|
public Size InputSize {get; set;} |
Property Value
A System.Windows.Size that specifies the size of the optional result of this effect. Default value is 800 by 600.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.
Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)