Leadtools.Windows.Media.Effects Send comments on this topic. | Back to Introduction - LEADTOOLS WPF | Help Version 16.5.9.25
Contrast Property
See Also 
Leadtools.Windows.Media.Effects.Core Namespace > HalfTonePatternCommandBitmapEffect Class : Contrast Property





Gets or sets a value that represents the amount of halftone pattern contrast. Increasing this value increases the pattern brightness, making it more visible.

Syntax

Visual Basic (Declaration) 
Public Property Contrast As Integer
Visual Basic (Usage)Copy Code
Dim instance As HalfTonePatternCommandBitmapEffect
Dim value As Integer
 
instance.Contrast = value
 
value = instance.Contrast
C# 
public int Contrast {get; set;}
C++/CLI 
public:
property int Contrast {
   int get();
   void set (int value);
}
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

Value that represents the halftone pattern contrast.

Example

For XAML example, refer to HalfTonePatternCommandBitmapEffect.

For C#/VB examples, refer to HalfTonePatternCommandBitmapEffect.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, Windows Server 2008 family

See Also