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
)
Public Sub New (
uri As String,
x As Integer,
y As Integer,
width As Integer,
height As Integer
)
public:
Raster(
String^ uri,
int x,
int y,
int width,
int height
)
new :
uri : string *
x : int *
y : int *
width : int *
height : int -> Raster
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