IFileBasedProjectArchiveManagerLoadFromFile Method |
Loads a project from a file.
Namespace: Altaxo.Main.ServicesAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax void LoadFromFile(
FileName fileName,
RestoreProjectAndWindowsState restoreProjectAndWindowsState,
bool showUserInteraction = true
)
Parameters
- fileName FileName
- Name of the file to load from.
- restoreProjectAndWindowsState RestoreProjectAndWindowsState
- Delegate that is used to deserialize and restore the project and the windows state.
- showUserInteraction Boolean (Optional)
- If true, and the file is read-only, a dialog box is asking the user whether to open the file in read-only mode.
If false, and the file is read-only, the file will be opened in read-only-mode.
See Also