Leadtools.Windows.Media.Effects Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.02.15
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;}
Managed Extensions for C++ 
public: __property Color get_SampleColor();
public: __property void set_SampleColor( 
   Color value
);
C++/CLI 
public:
property Color SampleColor {
   Color get();
   void set (Color value);
}
XAML Attributes Usage 

<object Flags =SampleTargetCommandBitmapEffectsFlags >

Dependency 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, and Windows Server 2003

See Also