Click or drag to resize

StkAttitudeFileReadFrom Method (TextReader)

Reads an STK attitude (.a) file from a TextReader. The TextReader can be a StreamReader for reading from a file, a StringReader for reading from a string, or any number of other types. See the Remarks section of the documentation of ReadFrom(TextReader, StkAttitudeFileOptions) for detailed information.

Namespace:  AGI.Foundation.Stk
Assembly:  AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public static StkAttitudeFile ReadFrom(
	TextReader reader
)

Parameters

reader
Type: System.IOTextReader
The reader from which to read the attitude.

Return Value

Type: StkAttitudeFile
An StkAttitudeFile instance containing the read attitude file.
Exceptions
ExceptionCondition
InvalidDataException Thrown when the STK attitude file is invalid, or it contains unsupported properties or property values.
ArgumentNullException Thrown when reader is .
See Also