Class NotebookLoadOptions

NotebookLoadOptions class

Options used to load a notebook.

public class NotebookLoadOptions

Constructors

NameDescription
NotebookLoadOptions()The default constructor.

Properties

NameDescription
DeferredLoading { get; set; }Gets or sets a value indicating whether children documents should be loaded explicitly later.
InstantLoading { get; set; }Gets or sets a value indicating whether children documents should be loaded while the parent document is loading.

Examples

Shows how to an encrypted notebook.

// The path to the documents directory.
string dataDir = RunExamples.GetDataDir_NoteBook();
var notebook = new Notebook(dataDir + "test.onetoc2", new NotebookLoadOptions() { DeferredLoading = true });

notebook.LoadChildDocument(dataDir + "Aspose.one");  
notebook.LoadChildDocument(dataDir + "Locked Pass1.one", new LoadOptions() { DocumentPassword = "pass" });
notebook.LoadChildDocument(dataDir + "Locked Pass2.one", new LoadOptions() { DocumentPassword = "pass2" });

See Also