ToString

Returns a string of position values in the following order: X/Longitude, Y/Latitude, Altitude, Yaw, Pitch, Roll, Distance, AltitudeType.

 

JavaScript

 

ToString(

       Format)

 

C#

 

string ToString(

       string Format = "")

 

C++

 

HRESULT ToString(

       BSTR Format,

       BSTR* pVal)

 

Parameters

Format

A string defining the format of the string values file. Use Use ”xml” or leave empty for a comma delimited file.

Return Value

pVal

A string of position values in the following order: X/Longitude, Y/Latitude, Altitude, Yaw, Pitch, Roll, Distance, AltitudeType. If “xml” was passed as the format, the string returned will be:

<SGPosition><x>[xvalue]</x><y>%lf</y><altitude>%lf</altitude><yaw>%lf</yaw><pitch>%lf</pitch><roll>%lf</roll><distance>%lf</distance><altitudeType>%d</altitudeType>

Exceptions

See: HRESULT Return Values for a list of possible values returned by the HRESULT.