Accusoft.ImagXpress13.Net
SetRegion(RectangleF,RegionType) Method




A System.Drawing.RectangleF value which represents the bounding area.
A RegionType value which determines the region type to use when setting the region.
Sets the region using the given parameters.
Syntax
'Declaration
 
Public Overloads Sub SetRegion( _
   ByVal boundingArea As RectangleF, _
   ByVal regionType As RegionType _
) 
'Usage
 
Dim instance As Processor
Dim boundingArea As RectangleF
Dim regionType As RegionType
 
instance.SetRegion(boundingArea, regionType)
public void SetRegion( 
   RectangleF boundingArea,
   RegionType regionType
)
public: void SetRegion( 
   RectangleF boundingArea,
   RegionType regionType
) 
public:
void SetRegion( 
   RectangleF boundingArea,
   RegionType regionType
) 

Parameters

boundingArea
A System.Drawing.RectangleF value which represents the bounding area.
regionType
A RegionType value which determines the region type to use when setting the region.
Remarks

There are two ways to specify a portion of the image to process: Region or Area.

There can only be one region, and one area specified per processor.

When EnableRegion is set to true, and a region has been defined using this method, all image processing actions apply to the region only.

When EnableArea has been set to true, and an area is defined using SetArea, all image processing actions apply to the area only.

When both a region and an area have been enabled and defined, image processing actions apply to whichever was most recently set.

When neither a region nor an area have been enabled and defined, image processing actions are applied to the entire image.

See Also

Reference

Processor Class
Processor Members
Overload List

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback