Visual Basic (Declaration) | |
---|---|
Public Property Contrast As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public int Contrast {get; set;} |
XAML Attributes Usage | |
---|---|
<object Contrast =int > |
Dependencies Property Information | |
---|---|
Identifier field | ContrastProperty |
Metadata properties set to true | None |
XAML Attributes Usage | |
---|---|
<object Contrast =int > |
Dependencies Property Information | |
---|---|
Identifier field | ContrastProperty |
Metadata properties set to true | None |
Return Value
Fraction of contrast enhancement applied to the image. Valid values range from 0 – 10000, which are interpreted as 0 - 100. This value is internally divided by 10000. Greater values will produce stronger contrast.For XAML example, refer to MultiscaleEnhancementCommandBitmapEffect.
For C#/VB examples, refer to MultiscaleEnhancementCommandBitmapEffect.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, Windows Server 2008 family