Click or drag to resize

TwoLineElementSetToTleString Method

Returns a TLE string representing this TwoLineElementSet in the standard NORAD format, described by CelesTrak. The format consists of two or three lines with a new line after each. If the Name is not and not empty, the output contains three lines where the first is the result of ToTleStringLine0, the second is the result of ToTleStringLine1, and the third is the result of ToTleStringLine2. If the name is or empty, line zero is omitted. In either case, the lines are separated by your platform's new line string, usually "\n" or "\r\n".

Namespace:  AGI.Foundation.Propagators
Assembly:  AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 19.5.402.0 (19.5.402.0)
Syntax
public string ToTleString()

Return Value

Type: String
The TLE string.
Exceptions
ExceptionCondition
PropertyInvalidException The properties of this instance cannot be represented as a TLE string because a value is outside the allowed range or the Name property is longer than 24 characters.
See Also