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



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

Syntax

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

Property Value

The value of first edge detection matrix item. Default value is 1.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