Leadtools.ImageProcessing.Core Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.10
Combine Property
See Also 
Leadtools.ImageProcessing.Core Namespace > SelectDataCommand Class : Combine Property




Gets or sets a flag which tells how to color the output pixels.

Syntax

Visual Basic (Declaration) 
Public Property Combine As Boolean
Visual Basic (Usage)Copy Code
Dim instance As SelectDataCommand
Dim value As Boolean
 
instance.Combine = value
 
value = instance.Combine
C# 
public bool Combine {get; set;}
Managed Extensions for C++ 
public: __property bool get_Combine();
public: __property void set_Combine( 
   bool value
);
C++/CLI 
public:
property bool Combine {
   bool get();
   void set (bool value);
}

Return Value

A flag which tells how to color the output pixels:
  1. Pixels with values greater than or equal to the threshold value are set to Color (if Combine is set to false) or AND-ed with Color (if Combine is true). In this case, the source pixel is first converted to grayscale 24-bit and then AND-ed with Color.
  2. Pixels with values less than the threshold value are set to black (if Combine is set to false) or The RGB pixel value will be the same as the high byte source pixel value (if Combine is true). That is R = G = B = High byte values of the source pixel.

Example

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also