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





Gets or sets the target color.

Syntax

Visual Basic (Declaration) 
Public Property TargetColor As Color
Visual Basic (Usage)Copy Code
Dim instance As SampleTargetCommandBitmapEffect
Dim value As Color
 
instance.TargetColor = value
 
value = instance.TargetColor
C# 
public Color TargetColor {get; set;}
C++/CLI 
public:
property Color TargetColor {
   Color get();
   void set (Color value);
}
XAML Attributes Usage 

<object SampleColor =Color >

Dependencies Property Information 

Identifier field

SampleColorProperty

Metadata properties set to true

None

XAML Attributes Usage 

<object SampleColor =Color >

Dependencies Property Information 

Identifier field

SampleColorProperty

Metadata properties set to true

None

Return Value

Color value that represents the target color. The red value for red channel, green value for green channel, blue value for blue channel.

Example

For XAML example, refer to SampleTargetCommandBitmapEffect.

For C#/VB examples, refer to SampleTargetCommandBitmapEffect.

Requirements

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

See Also