You are here: Start » AVL.NET » Invoke.CropImage
Creates an image from a box-shaped fragment of the input image (with margins if requested).
| Namespace: | Avl | 
|---|---|
| Assembly: | AvlNet.dll | 
Syntax
C++
C#
public static void CropImage ( Avl.Image inImage, Avl.Box inSelection, Avl.Pixel inBorderColor, Avl.Image outImage )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]()  | inImage | Avl.Image | Input image. | ||
![]()  | inSelection | Avl.Box | Box defining a subimage to be cropped. | ||
![]()  | inBorderColor | Avl.Pixel | Color used for locations outside the selection. | ||
![]()  | outImage | Avl.Image | Output image. | 


