You are here: Start » AVL.NET » Invoke.CreateImageTiles
Generates an array of regions and an array of boxes covering the area of an image.
| Namespace: | Avl | 
|---|---|
| Assembly: | AvlNet.dll | 
Syntax
C++
C#
public static void CreateImageTiles ( Avl.Size inImageSize, int inTileWidth, Optional<int> inTileHeight, Optional<int> inHorizontalStep, Optional<int> inVerticalStep, Avl.OverflowControl inOverflowControl, List<Avl.Region> outTileRegions, List<Avl.Box> outTileBoxes, out int outRowCount, out int outColumnCount )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]()  | inImageSize | Avl.Size | Format of image for which tiles will be produced. | ||
![]()  | inTileWidth | int | <1, INF> | 32 | Demanded tile width. Default value: 32. | 
![]()  | inTileHeight | Atl.Optional<int> | <1, INF> | Demanded tile height; equals inTileWidth when set to Auto. Default value: atl::NIL. | |
![]()  | inHorizontalStep | Atl.Optional<int> | <1, INF> | Defines horizontal space between consecutive tiles; defaults to tile width. Can be used to produce overlapping tiles. Default value: atl::NIL. | |
![]()  | inVerticalStep | Atl.Optional<int> | <1, INF> | Defines vertical space between consecutive tiles; defaults to tile height. Can be used to produce overlapping tiles. Default value: atl::NIL. | |
![]()  | inOverflowControl | Avl.OverflowControl | KeepLast | Define what to do when overflowing tiles are present. Default value: KeepLast. | |
![]()  | outTileRegions | System.Collections.Generic.List<Avl.Region> | Array containing produced tiles. | ||
![]()  | outTileBoxes | System.Collections.Generic.List<Avl.Box> | Array containing produced tiles. | ||
![]()  | outRowCount | int | Number of generated tiles rows. | ||
![]()  | outColumnCount | int | Number of generated tiles per row. | 


