Class NotebookLoadOptions
Class NotebookLoadOptions
名称: Aspose.Note 集合: Aspose.Note.dll (25.4.0)
用来充电笔记本的选项。
public class NotebookLoadOptions
Inheritance
继承人
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Examples
显示如何创建加密笔记本
// 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" });
Constructors
NotebookLoadOptions()
public NotebookLoadOptions()
Properties
DeferredLoading
收到或设置一个值,表明是否儿童文件必须在更晚的时间内明确加载。
public bool DeferredLoading { get; set; }
财产价值
Examples
显示如何创建加密笔记本
// 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" });
Remarks
默认值是“虚假”,因此儿童文档将随意加载。 值“真实”表示用户应该打电话 Aspose.Note.Notebook.LoadChildDocument(System.String) 或 __ WL31. 笔记本. LoadCildNotbook(系统. String )为每个笔記本电脑的儿童节点在笔志本本身被加密后。
InstantLoading
收到或设置一个值,表明是否儿童文件必须在父母文件充电时加载。
public bool InstantLoading { get; set; }
财产价值
Remarks
默认值是“虚假”,因此儿童文件将被“轻松”加载,也就是说,他们的负载必须推迟到直接访问特定儿童。