Class NotebookPdfSaveOptions

Class NotebookPdfSaveOptions

名称: Aspose.Note.Saving 集合: Aspose.Note.dll (25.4.0)

允许在将笔记本页面转换为PDF时指定额外的选项。

public class NotebookPdfSaveOptions : NotebookSaveOptions<pdfsaveoptions>
{
}

Inheritance

object NotebookSaveOptions NotebookSaveOptions NotebookPdfSaveOptions

继承人

NotebookSaveOptions.GetDocumentSaveOptions() , NotebookSaveOptions.DocumentSaveOptions , NotebookSaveOptions.SaveFormat , 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 格式中保存笔记本,并提供指定的选项。

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()
   {
   }

 中文