Class NotebookPdfSaveOptions

Class NotebookPdfSaveOptions

Nombre del espacio: Aspose.Note.Saving Asamblea: Aspose.Note.dll (25.4.0)

Permite especificar opciones adicionales al renderizar páginas de notebook en PDF.

public class NotebookPdfSaveOptions : NotebookSaveOptions<pdfsaveoptions>

Inheritance

object NotebookSaveOptions NotebookSaveOptions NotebookPdfSaveOptions

Miembros heredados

NotebookSaveOptions.GetDocumentSaveOptions() ,y, NotebookSaveOptions.DocumentSaveOptions ,y, NotebookSaveOptions.SaveFormat ,y, NotebookSaveOptions.GetDocumentSaveOptions() ,y, NotebookSaveOptions.SaveFormat ,y, NotebookSaveOptions.Flatten ,y, NotebookSaveOptions.DeferredSaving ,y, object.GetType() ,y, object.MemberwiseClone() ,y, object.ToString() ,y, object.Equals(object?) ,y, object.Equals(object?, object?) ,y, object.ReferenceEquals(object?, object?) ,y, object.GetHashCode()

Examples

Mostra cómo guardar un notebook en formato pdf con opciones especificadas.

// 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()

 Español