Leadtools.Windows.Media.Effects Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.02.15
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;}
Managed Extensions for C++ 
public: __property int[]* get_Matrix();
public: __property void set_Matrix( 
   int[]* value
);
C++/CLI 
public:
property array<int>^ Matrix {
   array<int>^ get();
   void set (intarray<value>^ value);
}
XAML Attributes Usage 

<object Matrix =int >

Dependency 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, and Windows Server 2003

See Also