You are here: Start » AVL.NET » AVL.CropImageToRectangle(AvlNet.Image, AvlNet.Rectangle2D, AvlNet.InterpolationMethod, float, AvlNet.Image)
AVL.CropImageToRectangle(AvlNet.Image, AvlNet.Rectangle2D, AvlNet.InterpolationMethod, float, AvlNet.Image)
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 )
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
Remarks
See full override for more details.
