You are here: Start » AVL.NET » AVL.CropImageToRectangle(AvlNet.Image, AvlNet.Rectangle2D, AvlNet.InterpolationMethod, float, AvlNet.Image, AvlNet.Rectangle2D, AvlNet.CoordinateSystem2D)

AVL.CropImageToRectangle(AvlNet.Image, AvlNet.Rectangle2D, AvlNet.InterpolationMethod, float, AvlNet.Image, AvlNet.Rectangle2D, AvlNet.CoordinateSystem2D)

Creates an image from a rectangular fragment of another image (with black margins if requested).

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void CropImageToRectangle(
	AvlNet.Image inImage,
	AvlNet.Rectangle2D inRectangle,
	AvlNet.InterpolationMethod inInterpolationMethod,
	float inMargin,
	out AvlNet.Image outImage,
	out AvlNet.Rectangle2D outAlignedRectangle,
	out AvlNet.CoordinateSystem2D outOutputAlignment
)

Parameters

inImage
Type: AvlNet.Image
Input image
inRectangle
Type: AvlNet.Rectangle2D
Rectangle defining a rotated subimage
inInterpolationMethod
Type: AvlNet.InterpolationMethod
inMargin
Type: System.Single
Width of an additional black margin for the output image
outImage
Type: AvlNet.Image
Output image
outAlignedRectangle
Type: AvlNet.Rectangle2D
outOutputAlignment
Type: AvlNet.CoordinateSystem2D

Remarks

See full override for more details.

See also