Class NotebookPdfSaveOptions
De naam: Aspose.Note.Saving Verzameling: Aspose.Note.dll (25.4.0)
Hiermee kunt u extra opties specificeren bij het renderen van notitiepagina’s naar PDF.
public class NotebookPdfSaveOptions : NotebookSaveOptions<pdfsaveoptions>
Inheritance
object
←
NotebookSaveOptions
←
NotebookSaveOptions
Geëerbiede leden
NotebookSaveOptions
Examples
Toon hoe je een notebook in pdf-formaat kunt opslaan met aangegeven opties.
// 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()