Gets or sets a value that represents the threshold at or above which colors are to be inverted.
Supported in Silverlight, Windows Phone 7
Syntax
Visual Basic (Declaration) | |
---|
Public Property Threshold As Integer |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As SolarizeCommand
Dim value As Integer
instance.Threshold = value
value = instance.Threshold |
C# | |
---|
public int Threshold {get; set;} |
C++/CLI | |
---|
public:
property int Threshold {
int get();
void set ( int value);
} |
Property Value
The valid range is from 0 - 65535 for 64-bit, 48-bit and 16-bit grayscale images and from 0 - 4095 for 12-bit grayscale images. Otherwise, it is from 0 to 255.
Example
Requirements
Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)
See Also