Click or drag to resize

ZipFileProjectArchiveManagerWithoutClonedFileLoadFromFile Method

Loads a project from a file.

Namespace: Altaxo.Main.Services
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public 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.

Implements

IFileBasedProjectArchiveManagerLoadFromFile(FileName, RestoreProjectAndWindowsState, Boolean)
Exceptions
ExceptionCondition
ObjectDisposedException
See Also