Class NotebookSaveOptions
Class NotebookSaveOptions
名称: Aspose.Note.Saving 集合: Aspose.Note.dll (25.4.0)
一个抽象的基础类,代表特定格式的笔记本存储选项并为所有文档儿童节点提供常见的储蓄选项。
public abstract class NotebookSaveOptions<tdocumentsaveoptions> : NotebookSaveOptions where TDocumentSaveOptions : SaveOptions
类型参数
TDocumentSaveOptions
保存所有笔记本的儿童文件的选项。
Inheritance
object
←
NotebookSaveOptions
←
NotebookSaveOptions
继承人
NotebookSaveOptions.GetDocumentSaveOptions() , NotebookSaveOptions.SaveFormat , NotebookSaveOptions.Flatten , NotebookSaveOptions.DeferredSaving , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Examples
显示如何在 PDF 格式中保存笔记本,并提供指定的选项。
// The path to the documents directory.
string dataDir = RunExamples.GetDataDir_NoteBook();
// Load a OneNote Notebook
var notebook = new Notebook(dataDir + "Notizbuch �ffnen.onetoc2");
var notebookSaveOptions = new NotebookPdfSaveOptions();
var documentSaveOptions = notebookSaveOptions.DocumentSaveOptions;
documentSaveOptions.PageSplittingAlgorithm = new KeepSolidObjectsAlgorithm();
dataDir = dataDir + "ConvertToPDF_out.pdf";
// Save the Notebook
notebook.Save(dataDir, notebookSaveOptions);
Constructors
NotebookSaveOptions()
protected NotebookSaveOptions()
Properties
DocumentSaveOptions
获取或设置所有笔记本电脑的儿童文件的存储选项。
public TDocumentSaveOptions DocumentSaveOptions { get; protected set; }
财产价值
TDocumentSave选项
Examples
显示如何在 PDF 格式中保存笔记本,并提供指定的选项。
// The path to the documents directory.
string dataDir = RunExamples.GetDataDir_NoteBook();
// Load a OneNote Notebook
var notebook = new Notebook(dataDir + "Notizbuch �ffnen.onetoc2");
var notebookSaveOptions = new NotebookPdfSaveOptions();
var documentSaveOptions = notebookSaveOptions.DocumentSaveOptions;
documentSaveOptions.PageSplittingAlgorithm = new KeepSolidObjectsAlgorithm();
dataDir = dataDir + "ConvertToPDF_out.pdf";
// Save the Notebook
notebook.Save(dataDir, notebookSaveOptions);
SaveFormat
获取笔记本存储的格式。
public override SaveFormat SaveFormat { get; }
财产价值
Methods
GetDocumentSaveOptions()
获取所有笔记本电脑的儿童文件的存储选项。
public override SaveOptions GetDocumentSaveOptions()
Returns
此分類上一篇: WL31_ .Saving.SaveOptions