Crops to the specified quadrilateral and applies forward perspective mapping. Useful to adjust perspective distortion.

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

Syntax

         
 C#  Visual Basic  Visual C++ 
public void Crop(
	double x1,
	double y1,
	double x2,
	double y2,
	double x3,
	double y3,
	double x4,
	double y4
)
Public Sub Crop ( _
	x1 As Double, _
	y1 As Double, _
	x2 As Double, _
	y2 As Double, _
	x3 As Double, _
	y3 As Double, _
	x4 As Double, _
	y4 As Double _
)
public:
void Crop(
	double x1, 
	double y1, 
	double x2, 
	double y2, 
	double x3, 
	double y3, 
	double x4, 
	double y4
)

Parameters

x1
Double
Horizontal position of point 1
y1
Double
Vertical position of point 1
x2
Double
Horizontal position of point 2
y2
Double
Vertical position of point 2
x3
Double
Horizontal position of point 3
y3
Double
Vertical position of point 3
x4
Double
Horizontal position of point 4
y4
Double
Vertical position of point 4

Examples

CopyC#
ieViewer1.Image.Crop(104, 85, 1000, 150, 181, 500, 54, 400);

See Also