Initializes a raster from a Uri. Only the specified subsection of the raster is read. See Raster for a list of supported formats.
[Visual Basic .NET] |
---|
Public Function InitializeWithStringUriXYWidthAndHeight( _ ByVal Uri As String, _ ByVal X As Integer, _ ByVal Y As Integer, _ ByVal Width As Integer, _ ByVal Height As Integer _ ) As IAgStkGraphicsRaster |
[C#] |
---|
public IAgStkGraphicsRaster InitializeWithStringUriXYWidthAndHeight( string Uri, int X, int Y, int Width, int Height ); |
[Managed C++] |
---|
public: IAgStkGraphicsRaster^ InitializeWithStringUriXYWidthAndHeight( String __gc ^ Uri, int X, int Y, int Width, int Height ); |
[Unmanaged C++] |
---|
public: HRESULT InitializeWithStringUriXYWidthAndHeight( BSTR Uri, int X, int Y, int Width, int Height, IAgStkGraphicsRaster ** ppRetVal ); |
- Uri
- The Uri of the raster.
- X
- The X position of the subsection in pixels.
- Y
- The Y position of the subsection in pixels.
- Width
- The width of the subsection in pixels.
- Height
- The height of the subsection in pixels.