You are here: Start » AVL.NET » AVL.ResizeRegion(AvlNet.Region, int?, int?, AvlNet.Region)
AVL.ResizeRegion(AvlNet.Region, int?, int?, AvlNet.Region)
Enlarges or shrinks a region to new dimensions.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void ResizeRegion( AvlNet.Region inRegion, int? inNewWidth, int? inNewHeight, out AvlNet.Region outRegion )
Parameters
- inRegion
- Type: AvlNet.Region
Input region - inNewWidth
- Type: System.Nullable<System.Int32>
- inNewHeight
- Type: System.Nullable<System.Int32>
- outRegion
- Type: AvlNet.Region
Output region
Examples
![]() |
![]() |
ResizeRegion performed on the sample region with inNewWidth = 200, inNewHeight = 100.
Errors
| Error type | Description |
|---|---|
| DomainError | Output region too big in ResizeRegion. |


