Select a part of the image.

The selected area will be outlined with a white-black animated rectangle if the image is visible inside a IEViewer.

The coordinates refers bitmap pixels.

Namespace: HiComponents.IEvolution
Assembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public void SelectRectangle(
	Rectangle rectangle,
	IEImage..::..SelOp op
)
Public Sub SelectRectangle ( _
	rectangle As Rectangle, _
	op As IEImage..::..SelOp _
)
public:
void SelectRectangle(
	Rectangle rectangle, 
	IEImage..::..SelOp op
)

Parameters

rectangle
Rectangle
The rectangle to select
op
IEImage..::..SelOp
If op is Replace, replaces all provious selections. If op is Add, add a new selection.

Examples

CopyC#
Image.SelectRectangle(10,10,100,100,IEImage.SelOp.Replace);
Image.EndSelect();
Image.Negative();

See Also