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: 25.1.421.0 (25.1.421.0)
Syntaxpublic Raster(
Uri uri,
int x,
int y,
int width,
int height
)
Public Sub New (
uri As Uri,
x As Integer,
y As Integer,
width As Integer,
height As Integer
)
public:
Raster(
Uri^ uri,
int x,
int y,
int width,
int height
)
new :
uri : Uri *
x : int *
y : int *
width : int *
height : int -> Raster
Parameters
- uri
- Type: System.Uri
The Uri of the raster. - x
- Type: System.Int32
The X position of the subsection in pixels. - y
- Type: System.Int32
The Y position of the subsection in pixels. - width
- Type: System.Int32
The width of the subsection in pixels. - height
- Type: System.Int32
The height of the subsection in pixels.
See Also