LEADTOOLS WCF (Leadtools.Services.Raster.DataContracts assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
RasterRegionCombineMode Enumeration
See Also  
Leadtools.Services.Raster.DataContracts Namespace : RasterRegionCombineMode Enumeration



The RasterRegionCombineMode Enumeration is available in LEADTOOLS Document and Medical Imaging toolkits.

Controls the creation of an image region.

Syntax

Visual Basic (Declaration) 
<DataContractAttribute(Namespace="http://Leadtools.Services.Raster.DataContracts/2009/01", Name="RasterRegionCombineMode")>
Public Enum RasterRegionCombineMode 
   Inherits System.Enum
   Implements IComparableIConvertibleIFormattable 
Visual Basic (Usage)Copy Code
Dim instance As RasterRegionCombineMode
C# 
[DataContractAttribute(Namespace="http://Leadtools.Services.Raster.DataContracts/2009/01", Name="RasterRegionCombineMode")]
public enum RasterRegionCombineMode : System.Enum, IComparableIConvertibleIFormattable  
C++/CLI 
[DataContractAttribute(Namespace="http://Leadtools.Services.Raster.DataContracts/2009/01", Name="RasterRegionCombineMode")]
public enum class RasterRegionCombineMode : public System.Enum, IComparableIConvertibleIFormattable  

Members

MemberDescription
And

The resulting region includes only the intersection of the existing region and the new one. The following example shows the result, where the rectangles represent the existing region, the ellipse represents the new one, and the shaded area represents the resulting region.

AndNotImage

The resulting region includes the intersection of the area outside the existing region and the area inside the new region. The following example shows the result, where the rectangle is the existing region, the ellipse is the new one, and the shaded area is the resulting region.

AndNotRegion

The resulting region includes the intersection of the area inside the existing region and the area outside the new region. The following example shows the result, where the rectangle is the existing region, the ellipse is the new one, and the shaded area is the resulting region.

Or

The resulting region includes the area inside the existing region and the area inside the new region. The following example shows the result, where the rectangle is the existing region, the ellipse is the new one, and the shaded area is the resulting region.

Set

The resulting region includes only the new region. The existing region, if any, is discarded. The following example shows the result, where the ellipse is the new region and the shaded area is the resulting region.

SetNot

The resulting region includes everything in the image, except the new region. The existing region, if any, is discarded. The following example shows the result, where the ellipse is the new region and the shaded area is the resulting region.

Xor

The resulting region includes the area inside the existing region and the area inside the new region, except for any areas where the two intersect. The following example shows the result, where the rectangle is the existing region, the ellipse is the new one, and the shaded area is the resulting region.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.Services.Raster.DataContracts.RasterRegionCombineMode

Requirements

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

See Also

Applications developed with LEADTOOLS WCF components require runtime licenses. Server licensing is required for applications on a server. For more information, refer to: Imaging Pro/Document/Medical Features