Leadtools.Windows.Media.Effects Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.8.31
Dimension Property
See Also 
Leadtools.Windows.Media.Effects.SpecialEffects Namespace > ColoredPencilCommandBitmapEffect Class : Dimension Property




Gets or sets the value that indicates the size of the pencil coloring neighborhood.

Syntax

Visual Basic (Declaration) 
Public Property Dimension As Integer
Visual Basic (Usage)Copy Code
Dim instance As ColoredPencilCommandBitmapEffect
Dim value As Integer
 
instance.Dimension = value
 
value = instance.Dimension
C# 
public int Dimension {get; set;}
Managed Extensions for C++ 
public: __property int get_Dimension();
public: __property void set_Dimension( 
   int value
);
C++/CLI 
public:
property int Dimension {
   int get();
   void set (int value);
}

Return Value

Value that indicates the size of the pencil coloring neighborhood on which the filter is applied. It is the length, in pixels, of one side of a square. Valid values range from 0 to 100. Increasing this value increases the thickness of the edges that are detected.

Example

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also