AGI STK Objects 11Send comments on this topic.
SaveScenarioAs Method (IAgStkObjectRoot)
See Also  Example
ScFileName
Saves the scenario to this file name.
Windows






Windows & Linux

Description

Use SaveAs method. Saves the changes made to the scenario to a specified path and file name.

Syntax

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

Parameters

ScFileName
Saves the scenario to this file name.

Example

Save a scenario to a new location (Save as)
[C#]Copy Code
root.SaveScenarioAs(fileName); 
 

Save a scenario to a new location (Save as)
[Visual Basic .NET]Copy Code
root.SaveScenarioAs(fileName)

See Also

© 2018 Analytical Graphics, Inc. All Rights Reserved.