←Select platform

InputSize Property (EdgeDetectEffect)

Summary

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

Syntax

C#
VB
C++
public Size InputSize {get; set;}
Public Property InputSize As Size
public: 
property Size InputSize { 
   Size get(); 
   void set (    Size ); 
} 

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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Windows.Media.Effects Assembly
Click or drag to resize