You are here: Start » FIL.NET » Function Reference » Image » Image Spatial Transforms » FIL.TrimImageToRegion
Trims an image to the area of the specified region.
| Namespace: | FilNet |
|---|---|
| Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void TrimImageToRegion ( FilNet.Image inImage, FilNet.Region inRegion, FilNet.Pixel inBorderColor, FilNet.Image outImage )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() | inImage | FilNet.Image | Input image. | ||
![]() | inRegion | FilNet.Region | Input region. | ||
![]() | inBorderColor | FilNet.Pixel | Color used for locations outside the region. | ||
![]() | outImage | FilNet.Image | Output image. |
Description
The operation extracts part of the inImage that corresponds to the region.
Other pixels are set to inBorderColor color.
Examples
![]() |
![]() |
TrimImageToRegion performed on the sample image and region.




