You are here: Start » FIL.NET » FIL.CropImageToRegion

FIL.CropImageToRegion

Crops an image to the area of the specified region.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

C++
C#
 
public static void CropImageToRegion
(
	FilNet.Image inImage,
	FilNet.Region inRegion,
	FilNet.Pixel inOutsidePixel,
	FilNet.Image outImage
)

Parameters

Name Type Range Default Description
inImageFilNet.ImageInput image.
inRegionFilNet.RegionInput region.
inOutsidePixelFilNet.PixelColor used for locations outside the region.
outImageFilNet.ImageOutput image.

Description

The operation extracts part of the inImage that corresponds to the region. Other pixels are set to inOutsidePixel color.

Examples

CropImageToRegion performed on the sample image and region.

See also