You are here: Start » AVL.NET » Function Reference » Image » Image Tiling » 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, int inDelay, AvlNet.Image outTile, out bool outIsFirst, out bool outIsLast, 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. | |||
inDelay | int | Minimum time between iterations in milliseconds. | |||
outTile | AvlNet.Image | ||||
outIsFirst | bool | Flag indicating the first iteration. | |||
outIsLast | bool | Flag indicating the last iteration. | |||
diagTilePosition | AvlNet.Box | Cut out tile position. |
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, Int32, Image)
- EnumerateImageTiles(EnumerateImageTilesState, Image, Int32, Nullable<Int32>, Boolean, Int32, Image)
- EnumerateImageTiles(EnumerateImageTilesState, Image, Int32, Nullable<Int32>, Boolean, Int32, Image, NullableValue<Boolean>, NullableValue<Boolean>)
- EnumerateImageTiles(EnumerateImageTilesState, Image, Int32, Nullable<Int32>, Boolean, Int32, Image, NullableValue<Boolean>, NullableValue<Boolean>, Box)