Visual Basic (Declaration) | |
---|---|
Public Property Ratio As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public int Ratio {get; set;} |
Managed Extensions for C++ | |
---|---|
public: __property int get_Ratio(); public: __property void set_Ratio( int value ); |
XAML Attributes Usage | |
---|---|
<object Ratio =int > |
Dependency Property Information | |
---|---|
Identifier field | RatioProperty |
Metadata properties set to true | None |
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.For XAML example, refer to ColoredPencilCommandBitmapEffect.
For C#/VB examples, refer to ColoredPencilCommandBitmapEffect.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003