Leadtools.CF Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.6.15
CombineFastCommandFlags Enumeration
See Also  
Leadtools.ImageProcessing Namespace : CombineFastCommandFlags Enumeration



Flags for CombineFastCommand.

Syntax

Visual Basic (Declaration) 
<FlagsAttribute()>
Public Enum CombineFastCommandFlags 
   Inherits Enum
   Implements IComparableIConvertibleIFormattable 
Visual Basic (Usage)Copy Code
Dim instance As CombineFastCommandFlags
C# 
[FlagsAttribute()]
public enum CombineFastCommandFlags : Enum, IComparableIConvertibleIFormattable  
C++/CLI 
[FlagsAttribute()]
public enum class CombineFastCommandFlags : public Enum, IComparableIConvertibleIFormattable  

Members

MemberDescription
SourceNop No change.
SourceNot Invert the color, resulting in its complement.
Source0 Change all bits to 0.
Source1 Change all bits to 1.
DestinationNop No change.
DestinationNot Invert the color, resulting in its complement.
Destination0 Change all bits to 0.
Destination1 Change all bits to 1.
OperationAnd Combine each set of bytes using a bitwise AND operator.
OperationOr Combine each set of bytes using a bitwise OR ( | ).
OperationXor Combine each set of bytes using a bitwise exclusive OR (^).
OperationAdd Add the byte values, allowing a maximum of 255.
OperationSubtractSource Subtract the source from the destination, allowing a minimum of 0.
OperationSubtractDestination Subtract the destination from the source, allowing a minimum of 0.
OperationMultiply Multiply the byte values, allowing a maximum of 255. The result is calculated as follows: result = (source * dest) / 255.
OperationDivideSource Divide the destination by the source. If source > 0, then the result is calculated as follows: result = min( (dest / source) * 255, 255 ). Otherwise, if source = 0, then result = 255.
OperationDivideDestination Divide the source by the destination. If dest > 0, then the result is calculated as follows: result = min( (source / dest) * 255, 255 ). Otherwise, if dest = 0, then result = 255.
OperationAverage Use the average of the two values.
OperationMinimum Use the lesser of the two values.
OperationMaximum Use the greater of the two values.
ResultNop No change.
ResultNot Invert the color, resulting in its complement.
Result0 Change all bits to 0.
Result1 Change all bits to 1.
SourceCopy Copies the source image to the destination image.

Remarks

These flags are combined into seven groups that define treatment of the source, treatment of the destination, the operation to use when combining the data, treatment of the resulting image, and the color plane for the destination, source and resulting images.

The flags apply only to the defined rectangles (not necessarily the whole image). You can use a bitwise OR ( | ) to specify one flag from each group.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.ImageProcessing.CombineFastCommandFlags

Requirements

Target Platforms: Microsoft .NET CF Framework 2.0, Windows Mobile 5 PocketPC, Windows Mobile 5 Smartphone, Windows Mobile 6

See Also