Click or drag to resize

ResampleDocumentCommand.AdjustBands Method

Sets the image area which will be processed and also defines the bands or chunks of the image of which each will be sent to a separate thread.

Namespace:  Atalasoft.Imaging.ImageProcessing.Document
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public Rectangle[] AdjustBands(
	Rectangle bounds,
	Rectangle[] bands
)

Parameters

bounds
Type: System.Drawing.Rectangle
The area of the image which will be processed.
bands
Type:System.Drawing.Rectangle[]
An array of Rectangles which represent the desired bands.

Return Value

Type:Rectangle[]
An array of Rectangles which represent the bands that will actually be used.

Implements

IThreadableCommand.AdjustBands(Rectangle,Rectangle[])
Remarks
Each band defines an area on which the IThreadableCommand will operate in an independent thread.
See Also