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





Gets or sets the dimensions of the neighborhood used for filtering (Dimension x Dimension), in pixels.

Syntax

Visual Basic (Declaration) 
Public Property Dimension As Integer
Visual Basic (Usage)Copy Code
Dim instance As OilifyCommandBitmapEffect
Dim value As Integer
 
instance.Dimension = value
 
value = instance.Dimension
C# 
public int Dimension {get; set;}
C++/CLI 
public:
property int Dimension {
   int get();
   void set (int value);
}
XAML Attributes Usage 

<object Dimension =int >

Dependencies Property Information 

Identifier field

DimensionProperty

Metadata properties set to true

None

XAML Attributes Usage 

<object Dimension =int >

Dependencies Property Information 

Identifier field

DimensionProperty

Metadata properties set to true

None

Return Value

Dimensions of the neighborhood used for filtering (Dimension x Dimension), in pixels. Only positive values are accepted.

Example

For XAML example, refer to OilifyCommandBitmapEffect.

For C#/VB examples, refer to OilifyCommandBitmapEffect.

Requirements

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

See Also