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




Gets or sets the value that indicates how much the image colors should be adjusted so they appear to be colored pencil colors on which the filter is applied.

Syntax

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

Return Value

Value that indicates the how much the image colors should be adjusted so they appear to be colored pencil colors on which the filter is applied. Valid values range from 0 to 100. A value of 0 means that the image will not have any change in pixel values, whereas a value of 100 means that the maximum possible amount will be added to the pixel values.

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