Click or drag to resize

Raster Constructor (Uri, 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.3.420.0 (24.3.420.0)
Syntax
public Raster(
	Uri uri,
	int x,
	int y,
	int width,
	int height
)

Parameters

uri
Type: SystemUri
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