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