You are here: Start » AVL.NET » AVL.SetRegionFrame(AvlNet.Region, int, int)
AVL.SetRegionFrame(AvlNet.Region, int, int)
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void SetRegionFrame( ref AvlNet.Region ioRegion, int inWidth, int inHeight )
Parameters
- ioRegion
- Type: AvlNet.Region
- inWidth
- Type: System.Int32
- inHeight
- Type: System.Int32
Description
The operation sets the region frame's width and height to new values, while it does not change the location of any of the region pixels. Note that all of the region pixels have to be contained within region frame's dimensions. If this is not the case with selected dimensions, an error with appropriate description occurs.
Examples
![]() |
![]() |
SetRegionFrame used to change dimensions from 150x150 to 300x300.
Errors
| Error type | Description |
|---|---|
| DomainError | Resulting region isn't contained in new dimensions in SetRegionFrame. |


