Click or drag to resize

StkAttitudeFileWriteTo Method (TextWriter, Boolean)

Writes this instance to a TextWriter in the STK attitude file (.a) format. The TextWriter can be a StreamWriter for writing to a file, a StringWriter for writing to a string, or any number of other types.

Namespace:  AGI.Foundation.Stk
Assembly:  AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public void WriteTo(
	TextWriter writer,
	bool prettyPrinting
)

Parameters

writer
Type: System.IOTextWriter
The writer to which to write this instance.
prettyPrinting
Type: SystemBoolean
Whether the output should have pretty formatting.
Exceptions
ExceptionCondition
UnsupportedCaseExceptionThrown when the attitude file is in an unknown format.
ArgumentNullException Thrown when writer is .
See Also