Click or drag to resize

Raster Constructor (String, Int32, Int32, Int32, Int32)

Initializes a raster from a Uri. Only the specified subsection of the raster is read. See Raster for a list of supported formats.

Namespace:  AGI.Foundation.Graphics.Imaging
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public Raster(
	string uri,
	int x,
	int y,
	int width,
	int height
)

Parameters

uri
Type: SystemString
The Uri of the raster.
x
Type: SystemInt32
The X position of the subsection in pixels.
y
Type: SystemInt32
The Y position of the subsection in pixels.
width
Type: SystemInt32
The width of the subsection in pixels.
height
Type: SystemInt32
The height of the subsection in pixels.
See Also