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





Gets or sets the sample color.

Syntax

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

<object Flags =SampleTargetCommandBitmapEffectsFlags >

Dependencies Property Information 

Identifier field

FlagsProperty

Metadata properties set to true

None

XAML Attributes Usage 

<object Flags =SampleTargetCommandBitmapEffectsFlags >

Dependencies Property Information 

Identifier field

FlagsProperty

Metadata properties set to true

None

Return Value

Color value that represents the sample 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