Leadtools.Windows.Media.Effects Send comments on this topic. | Back to Introduction - LEADTOOLS WPF | Help Version 16.5.9.25
Matrix Property
See Also 
Leadtools.Windows.Media.Effects.Effects Namespace > SpatialFilterCommandBitmapEffect Class : Matrix Property





Gets or sets the array of weighting factors.

Syntax

Visual Basic (Declaration) 
Public Property Matrix As Integer()
Visual Basic (Usage)Copy Code
Dim instance As SpatialFilterCommandBitmapEffect
Dim value() As Integer
 
instance.Matrix = value
 
value = instance.Matrix
C# 
public int[] Matrix {get; set;}
C++/CLI 
public:
property array<int>^ Matrix {
   array<int>^ get();
   void set (intarray<value>^ value);
}
XAML Attributes Usage 

<object Matrix =int >

Dependencies Property Information 

Identifier field

MatrixProperty

Metadata properties set to true

None

XAML Attributes Usage 

<object Matrix =int >

Dependencies Property Information 

Identifier field

MatrixProperty

Metadata properties set to true

None

Return Value

The array of weighting factors. The factors apply to pixels in the neighborhood read left to right and top to bottom (in the ABC order shown in the diagram). The diagram shows how the weights are applied in a typical Prewitt gradient directional edge enhancement operation.

Example

For XAML example, refer to SpatialFilterCommandBitmapEffect.

For C#/VB examples, refer to SpatialFilterCommandBitmapEffect.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, Windows Server 2008 family

See Also