You are here: Start » AVL.NET » AVL.EnumerateImageTiles
Enumerates tiles from image.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static bool EnumerateImageTiles ( AvlNet.EnumerateImageTilesState ioState, AvlNet.Image inImage, int inTileWidth, int? inTileHeight, bool inOverflowControl, AvlNet.Image outTile, out AvlNet.Box diagTilePosition )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
ioState | AvlNet.EnumerateImageTilesState | ||||
inImage | AvlNet.Image | Image to be enumerated. | |||
inTileWidth | int | <1, INF> | 1 | Tile width. Default value: 1. | |
inTileHeight | int? | <1, INF> | Tile height. Default value: atl::NIL. | ||
inOverflowControl | bool | Allow overflow. | |||
outTile | AvlNet.Image | ||||
diagTilePosition | AvlNet.Box | Box indicating cut out tiles location and dimensions. |
Description
Cuts out a tile from inImage and serves them one by one. Tile dimensions cannot be changed during image traversal.
Examples
Function Overrides
- EnumerateImageTiles(EnumerateImageTilesState, Image, Int32, Boolean, Image)
- EnumerateImageTiles(EnumerateImageTilesState, Image, Int32, Boolean, Image, Box)
- EnumerateImageTiles(EnumerateImageTilesState, Image, Int32, Nullable<Int32>, Boolean, Image)