AGI STK Objects 11Send comments on this topic.
Export Method (IAgStkObject)
See Also  Example
Filename
The file name to export the object to.
Windows






Windows & Linux

Description

Exports the object to a file.

Syntax

[Visual Basic .NET]
Public Sub Export( _
   ByVal Filename As String _
) 
[C#]
public void Export(
   string Filename
);
[Managed C++]
public: void Export(
   String __gc ^ Filename
);
[Java]
public  export(
   String Filename
);
[Unmanaged C++]
public: HRESULT Export(
   BSTR Filename
);

Parameters

Filename
The file name to export the object to.

Example

Export a STK Object to a file
[C#]Copy Code
string fileNameWithoutExtension = Path.Combine(outputPath, "MySatellite1"); 
stkObject.Export(fileNameWithoutExtension); 
 

Export a STK Object to a file
[Visual Basic .NET]Copy Code
Dim fileNameWithoutExtension As String = Path.Combine(outputPath, "MySatellite1")
stkObject.Export(fileNameWithoutExtension)

See Also

© 2018 Analytical Graphics, Inc. All Rights Reserved.