You are here: Start » FIL.NET » Function Reference » Region » Region Spatial Transforms » FIL.UncropRegion

FIL.UncropRegion

Inverse of CropRegion.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

C++
C#
 
public static void UncropRegion
(
	FilNet.Region inRegion,
	FilNet.Box inSelection,
	int inWidth,
	int inHeight,
	FilNet.Region outRegion
)

Parameters

Name Type Range Default Description
inRegionFilNet.RegionInput region.
inSelectionFilNet.BoxBox defining the range of the original cropping.
inWidthint<0, 65535>Width of the uncropped region.
inHeightint<0, 65535>Height of the uncropped region.
outRegionFilNet.RegionOutput region.

Description

The operation translates a region to original coordinates. The value of inSelection describes region coordinates before the cropping.

Dimensions of outRegion depends on inWidth and inHeight.

Examples

Images below show a typical usage of the filter CropRegion.

An input region. A region after CropRegion. Result of applying UncropRegion on the cropped region.

Remarks

This operation is an inversion of filter CropRegion.

See also