Click or drag to resize

StkEphemerisFileReadFrom Method (String, StkEphemerisFileOptions)

Reads an STK ephemeris (.e) file from a specified file. See the Remarks section of the documentation of ReadFrom(TextReader, StkEphemerisFileOptions) for detailed information.

Namespace:  AGI.Foundation.Stk
Assembly:  AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public static StkEphemerisFile ReadFrom(
	string fileName,
	StkEphemerisFileOptions readOptions
)

Parameters

fileName
Type: SystemString
The name of the file from which to read the ephemeris.
readOptions
Type: AGI.Foundation.StkStkEphemerisFileOptions
An object containing any additional instructions for the read process.

Return Value

Type: StkEphemerisFile
An StkEphemerisFile instance containing the read ephemeris file.
Exceptions
ExceptionCondition
InvalidDataException Thrown when the STK ephemeris file is invalid or it contains unsupported properties or property values.
ArgumentNullException Thrown when fileName is .
See Also