STK X Send comments on this topic.
OnScenarioSave Event (AgSTKXApplication)
See Also  Example
Path
Full path to the scenario file (.sc).





Description

Triggered when the current scenario is saved.

Syntax

[Visual Basic .NET]
Public Event OnScenarioSave( _
   ByVal Path As String _
)

[C#]
public void OnScenarioSave(
string Path
);

[Managed C++]
public: void OnScenarioSave(
String __gc ^ Path
);

[Java]
public  onScenarioSave(
String Path
);

[Unmanaged C++]
public: HRESULT OnScenarioSave(
BSTR Path
);

Parameters

Path
Full path to the scenario file (.sc).

Example

[Visual Basic .NET] Copy Code
Private Sub stkxApp_OnScenarioSave(ByVal Path As String) _
                Handles stkxApp.OnScenarioSave
    MessageBox.Show("STK X - Scenario saved: " & Path)
End Sub

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1