You are here: Start » AVL.NET » AVL.EnumerateImageTiles Method

AVL.EnumerateImageTiles Method

Enumerates tiles from image.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static bool EnumerateImageTiles(
	ref AvlNet.EnumerateImageTilesState ioState,
	AvlNet.Image inImage,
	int inTileWidth,
	int? inTileHeight,
	bool inOverflowControl,
	out AvlNet.Image outTile,
	out AvlNet.Box diagTilePosition
)

Parameters

Name Type Range Default Description
ioStateAvlNet.EnumerateImageTilesState
inImageAvlNet.ImageImage to be enumerated.
inTileWidthint<1, INF>1Tile width. Default value: 1.
inTileHeightint?<1, INF>Tile height. Default value: atl::NIL, or null.
inOverflowControlboolAllow overflow.
outTileAvlNet.Image
diagTilePositionAvlNet.BoxBox 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

EnumerateImageTiles performed on the sample image with inOverflowControl = true.

See also