Click or drag to resize

StkAttitudeFileReadFrom Method (String, StkAttitudeFileOptions)

Reads an STK attitude (.a) file from a specified file. 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(
	string fileName,
	StkAttitudeFileOptions readOptions
)

Parameters

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

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 fileName is .
See Also