Description
Converts a pixel coordinate relative to the
globe control to a Cartographic position. For speed, terrain is not
considered. This method does not throw an exception.
Syntax
| [Visual Basic .NET] |
|---|
Public Function TryWindowToCartographic( _
ByVal CentralBody As String, _
ByRef Position() As Variant _
) As Variant()
|
Parameters
- CentralBody
- The Central Body of the position.
- Position
- An array containing the pixel coordinate (in the order x, y) to convert.
Example
Shows the format of
the Position parameter when converting a pixel coordinate to a
cartographic position.
| [C#] | Copy Code
|
|
|---|---|---|
|
||
Shows the format of
the Position parameter when converting a pixel coordinate to a
cartographic position.
| [Visual Basic .NET] | Copy Code
|
|
|---|---|---|
|
||