Class NotebookPdfSaveOptions
Class NotebookPdfSaveOptions
名称: Aspose.Note.Saving 集合: Aspose.Note.dll (25.4.0)
允许在将笔记本页面转换为PDF时指定额外的选项。
public class NotebookPdfSaveOptions : NotebookSaveOptions<pdfsaveoptions>
{
}
Inheritance
object
←
NotebookSaveOptions
←
NotebookSaveOptions
继承人
NotebookSaveOptions
Examples
显示如何在 PDF 格式中保存笔记本,并提供指定的选项。
string dataDir = RunExamples.GetDataDir_NoteBook();
var notebook = new Notebook(dataDir + "Notizbuch Öffnen.onetoc2");
var notebookSaveOptions = new NotebookPdfSaveOptions();
var documentSaveOptions = notebookSaveOptions.DocumentSaveOptions;
documentSaveOptions.PageSplittingAlgorithm = new KeepSolidObjectsAlgorithm();
dataDir += "ConvertToPDF_out.pdf";
notebook.Save(dataDir, notebookSaveOptions);
Constructors
笔记本PdfSaveOptions()
public NotebookPdfSaveOptions()
{
}