You are here: Start » FIL.NET » Function Reference » Region » Region Basics » FIL.CreateRectangleBorderRegion
Creates a frame-shaped region with given parameters.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void CreateRectangleBorderRegion ( FilNet.Rectangle2D inRectangle, float inBorderWidth, FilNet.BorderPosition inBorderPosition, int inFrameWidth, int inFrameHeight, FilNet.Region outRegion )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inRectangle | FilNet.Rectangle2D | |||
![]() | inBorderWidth | float | <0.0f, INF> | 1.0f | Default value: 1.0f. |
![]() | inBorderPosition | FilNet.BorderPosition | Centered | Default value: Centered. | |
![]() | inFrameWidth | int | <0, 65535> | Width of the created region's frame. | |
![]() | inFrameHeight | int | <0, 65535> | Height of the created region's frame. | |
![]() | outRegion | FilNet.Region | Output region. |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Incorrect BorderPosition in CreateRectangleBorderRegion. |
Function Overrides
- CreateRectangleBorderRegion(Rectangle2D, Nullable<CoordinateSystem2D>, Single, BorderPosition, Int32, Int32, Region)
- CreateRectangleBorderRegion(Rectangle2D, Nullable<CoordinateSystem2D>, Single, BorderPosition, Int32, Int32, Region, Rectangle2D)
- CreateRectangleBorderRegion(Rectangle2D, Nullable<CoordinateSystem2D>, Single, BorderPosition, Int32, Int32, Region, NullableValue<Rectangle2D>)