AGI STK Graphics 11 Send comments on this topic.
InitializeWithStringUriXYWidthAndHeight Method (IAgStkGraphicsRasterFactory)
See Also 
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.





Description

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

Syntax

[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
);

[Java]
public IAgStkGraphicsRaster initializeWithStringUriXYWidthAndHeight(
String Uri,
ppInteger X,
ppInteger Y,
ppInteger Width,
ppInteger Height
);

[Unmanaged C++]
public: HRESULT InitializeWithStringUriXYWidthAndHeight(
BSTR Uri,
int X,
int Y,
int Width,
int Height,
IAgStkGraphicsRaster ** ReturnValue
);

Parameters

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.

See Also

© 2016 All Rights Reserved.

STK Programming Interface 11.0.1