Description
For convenience. Sets the Cartographic position of the model. This also sets
Position.
Syntax
| [Visual Basic .NET] |
|---|
Public Sub SetPositionCartographic( _
ByVal CentralBody As String, _
ByVal Position As System.Array _
)
|
| [Managed C++] |
|---|
public: void SetPositionCartographic(
String __gc ^ CentralBody,
System::Array ^ Position
);
|
| [Unmanaged C++] |
|---|
public: HRESULT SetPositionCartographic(
BSTR CentralBody,
SAFEARRAY * * Position
);
|
Parameters
Remarks
See Also
Example
Shows the format of the Position parameter when updating a model.
| [C#] |
|---|
Array position = new object[]
{
39.88,
-75.25,
0
};
model.SetPositionCartographic(
"Earth",
ref position);
|
|
Shows the format of the Position parameter when updating a model.
| [Visual Basic .NET] |
|---|
Dim position As Array = New Object() {39.88, -75.25, 0}
model.SetPositionCartographic("Earth", position)
|
|