// The path to the documents directory. string dataDir = RunExamples.GetDataDir_NoteBook(); var notebook = new Notebook(); dataDir = dataDir + "test_out.onetoc2"; // Save the Notebook notebook.Save(dataDir);