Home > All Other Interfaces > IPosition > ToString

ToString

Returns a string of comma separated 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

Return Value

pVal

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

Exceptions

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