STK Graphics PrimitivesSend comments on this topic.
InitializeWithString Method (IAgStkGraphicsRasterImageGlobeOverlayFactory)
See Also
Uri
The that represents the that points to the raster file.
Extent
An array representing the of the overlay. The elements should be provided in the order west longitude, south latitude, east longitude, north latitude.
Windows





Windows & Linux

Description

Initializes a raster image globe overlay with the provided values.

Syntax

[Visual Basic .NET]
Public Function InitializeWithString( _
    ByVal Uri As String, _
    ByVal Extent As System.Array _
) As IAgStkGraphicsRasterImageGlobeOverlay
[C#]
public IAgStkGraphicsRasterImageGlobeOverlay InitializeWithString(
    string Uri,
    System.Array Extent
);
[Managed C++]
public: IAgStkGraphicsRasterImageGlobeOverlay^ InitializeWithString(
    String __gc ^ Uri,
    System::Array ^ Extent
);
[Unmanaged C++]
public: HRESULT InitializeWithString(
    BSTR Uri,
    SAFEARRAY * * Extent,
    IAgStkGraphicsRasterImageGlobeOverlay ** ppRetVal
);
[Java]
public IAgStkGraphicsRasterImageGlobeOverlay initializeWithString(
    String Uri,
    AgSafeArray Extent
);
[Python - STK API]
def InitializeWithString(self, Uri:str, Extent:list) -> "IAgStkGraphicsRasterImageGlobeOverlay":

Parameters

Uri
The that represents the that points to the raster file.
Extent
An array representing the of the overlay. The elements should be provided in the order west longitude, south latitude, east longitude, north latitude.

See Also

Example

Shows the format of the Extent parameter when creating a raster imgae globe overlay.
[C#]
Array extent = new object[]
{
    90,
    30,
    -77,
    39
};

IAgStkGraphicsRasterImageGlobeOverlay overlay = sceneManager.Initializers.RasterImageGlobeOverlay.InitializeWithColor(
    Color.Red, 
    ref extent);
Shows the format of the Extent parameter when creating a raster imgae globe overlay.
[Visual Basic .NET]
Dim extent As Array = New Object() {90, 30, -77, 39}

Dim overlay As IAgStkGraphicsRasterImageGlobeOverlay = sceneManager.Initializers.RasterImageGlobeOverlay.InitializeWithColor(Color.Red, extent)
© 2021 Analytical Graphics, Inc. All Rights Reserved.