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



Gets or sets the value of the second edge detection matrix item. This is a dependency property. Supported in Silverlight

Syntax

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

Property Value

The value of the second edge detection matrix item. Default value is 2.0.

Example

For XAML example, refer to EdgeDetectEffect.

For C#/VB examples, refer to EdgeDetectEffect.

Remarks

This class uses a a 3 X 1 kernal matrix to produce the effect. The matrix will be constructed by the KernelPos1, KernelPos2 and KernelPos3 properties.

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