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