STK Graphics PrimitivesSend 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.
Windows





Windows & Linux

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
);
[Unmanaged C++]
public: HRESULT InitializeWithStringUriXYWidthAndHeight(
    BSTR Uri,
    int X,
    int Y,
    int Width,
    int Height,
    IAgStkGraphicsRaster ** ppRetVal
);
[Java]
public IAgStkGraphicsRaster initializeWithStringUriXYWidthAndHeight(
    String Uri,
    Integer X,
    Integer Y,
    Integer Width,
    Integer Height
);
[Python - STK API ]
def InitializeWithStringUriXYWidthAndHeight(self, Uri:str, X:int, Y:int, Width:int, Height:int) -> "IAgStkGraphicsRaster":

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

© 2024 Analytical Graphics, Inc. All Rights Reserved.