STK Graphics PrimitivesSend comments on this topic.
InitializeWithRaster Method (IAgStkGraphicsRasterImageGlobeOverlayFactory)
See Also
Raster
The Raster of the overlay.
Extent
An array representing the Cartographic Extent 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 InitializeWithRaster( _
    ByVal Raster As IAgStkGraphicsRaster, _
    ByVal Extent As System.Array _
) As IAgStkGraphicsRasterImageGlobeOverlay
[C#]
public IAgStkGraphicsRasterImageGlobeOverlay InitializeWithRaster(
    IAgStkGraphicsRaster Raster,
    System.Array Extent
);
[Managed C++]
public: IAgStkGraphicsRasterImageGlobeOverlay^ InitializeWithRaster(
    IAgStkGraphicsRaster ^ Raster,
    System::Array ^ Extent
);
[Unmanaged C++]
public: HRESULT InitializeWithRaster(
    IAgStkGraphicsRaster * Raster,
    SAFEARRAY * * Extent,
    IAgStkGraphicsRasterImageGlobeOverlay ** ppRetVal
);
[Java]
public IAgStkGraphicsRasterImageGlobeOverlay initializeWithRaster(
    IAgStkGraphicsRaster Raster,
    AgSafeArray Extent
);
[Python - STK API ]
def InitializeWithRaster(self, Raster:"IAgStkGraphicsRaster", Extent:list) -> "IAgStkGraphicsRasterImageGlobeOverlay":

Parameters

Raster
The Raster of the overlay.
Extent
An array representing the Cartographic Extent 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)
© 2024 Analytical Graphics, Inc. All Rights Reserved.