Description
Converts a Cartographic position to a pixel
coordinate relative to the globe control. This method can throw an
exception. Returns an array containing the pixel coordinate (in the
order x, y) of the Cartographic position relative to the globe
control. The coordinate can be fractional.
Syntax
| [Visual Basic .NET] |
|---|
Public Function CartographicToWindow( _
ByVal CentralBody As String, _
ByRef Position() As Variant _
) As Variant()
|
Parameters
- CentralBody
- The Central Body of the position.
- Position
- An array containing the Cartographic position to convert, provided in the order latitude, longitude, altitude.
Example
Shows the format of
the Position parameter when converting a cartogaphic position to a
pixel coordinate.
| [C#] | Copy Code
|
|
|---|---|---|
|
||
Shows the format of
the Position parameter when converting a cartogaphic position to a
pixel coordinate.
| [Visual Basic .NET] | Copy Code
|
|
|---|---|---|
|
||