LEADTOOLS (Leadtools assembly)

RasterRegionCombineMode Enumeration

Show in webframe







Controls the creation of an image region.
Syntax
public enum RasterRegionCombineMode : System.Enum, System.IComparableSystem.IConvertibleSystem.IFormattable  
'Declaration
 
Public Enum RasterRegionCombineMode 
   Inherits System.Enum
   Implements System.IComparableSystem.IConvertibleSystem.IFormattable 
'Usage
 
Dim instance As RasterRegionCombineMode
public enum RasterRegionCombineMode : System.IComparableSystem.IConvertibleSystem.IFormattable  

            
public enum RasterRegionCombineMode
Leadtools.RasterRegionCombineMode = function() { };
Leadtools.RasterRegionCombineMode.prototype = {
And = 0, Set = 1, AndNotImage = 2, AndNotRegion = 3, Or = 4, Xor = 5, SetNot = 6, };
public enum class RasterRegionCombineMode : public System.Enum, System.IComparableSystem.IConvertibleSystem.IFormattable  
Members
ValueMemberDescription
0And

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.

1Set

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.

2AndNotImage

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.

3AndNotRegion

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.

4Or

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.

5Xor

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.

6SetNot

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.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.RasterRegionCombineMode

Requirements

Target Platforms

See Also

Reference

Leadtools Namespace

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.