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



Controls the creation of an image region. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Public Enum RasterRegionCombineMode 
   Inherits System.Enum
   Implements IComparableIConvertibleIFormattable 
Visual Basic (Usage)Copy Code
Dim instance As RasterRegionCombineMode
C# 
public enum RasterRegionCombineMode : System.Enum, IComparableIConvertibleIFormattable  
C++/CLI 
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.RasterRegionCombineMode

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only), Windows Phone 7

See Also