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





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

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1