Click or drag to resize

RasterAttributes Constructor (Int32, Int32, RasterFormat, RasterType, RasterOrientation, Int32, Double)

Initializes a new instance with the width and height of the raster in pixels, and the given RasterFormat, RasterType, RasterOrientation, row alignment, and pixel aspect ratio.

Namespace:  AGI.Foundation.Graphics.Imaging
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public RasterAttributes(
	int width,
	int height,
	RasterFormat rasterFormat,
	RasterType rasterType,
	RasterOrientation rasterOrientation,
	int rowAlignment,
	double pixelAspectRatio
)

Parameters

width
Type: SystemInt32
The width of the raster in pixels.
height
Type: SystemInt32
The height of the raster in pixels.
rasterFormat
Type: AGI.Foundation.Graphics.ImagingRasterFormat
The RasterFormat.
rasterType
Type: AGI.Foundation.Graphics.ImagingRasterType
The RasterType.
rasterOrientation
Type: AGI.Foundation.Graphics.ImagingRasterOrientation
The RasterOrientation.
rowAlignment
Type: SystemInt32
The row alignment, in bytes, of the raster.
pixelAspectRatio
Type: SystemDouble
The pixel aspect ratio of the raster.
See Also