Rotate and replace the current image with that within the specified rectangle (i.e. keep only the specified region).

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

Syntax

         
 C#  Visual Basic  Visual C++ 
public void Crop(
	int x1,
	int y1,
	int x2,
	int y2,
	double rotation,
	AntialiasMode antialiasMode
)
Public Sub Crop ( _
	x1 As Integer, _
	y1 As Integer, _
	x2 As Integer, _
	y2 As Integer, _
	rotation As Double, _
	antialiasMode As AntialiasMode _
)
public:
void Crop(
	int x1, 
	int y1, 
	int x2, 
	int y2, 
	double rotation, 
	AntialiasMode antialiasMode
)

Parameters

x1
Int32
Top left horizontal position
y1
Int32
Top left vertical position
x2
Int32
Bottom right horizontal position
y2
Int32
Bottom right vertical position
rotation
Double
Rotation in degrees
antialiasMode
AntialiasMode
Antialias mode used by the rotation algorithm

See Also