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形式のノートブックを保存する方法を示します。
// 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
NotebookPdfSaveOptions()
public NotebookPdfSaveOptions()