You are here: Start » FIL.NET » Function Reference » Region » Region Spatial Transforms » FIL.TranslateRegion
Translates a region by a given number of pixels along each axis.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void TranslateRegion ( FilNet.Region inRegion, int inDeltaX, int inDeltaY, bool inInverse, int? inFrameWidth, int? inFrameHeight, FilNet.Region outRegion )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inRegion | FilNet.Region | Input region. | ||
![]() | inDeltaX | int | Horizontal shift. | ||
![]() | inDeltaY | int | Vertical shift. | ||
![]() | inInverse | bool | Negates the delta values. | ||
![]() | inFrameWidth | int? | <0, 65535> | Output region frame width. Default value: ftl::NIL. | |
![]() | inFrameHeight | int? | <0, 65535> | Output region frame height. Default value: ftl::NIL. | |
![]() | outRegion | FilNet.Region | Output region. |
Examples
![]() |
![]() |
TranslateRegion performed on the sample region with inDeltaX and inDeltaY both set to 50.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Input and output regions are not distinct in TranslateRegion. |