Class NotebookSaveOptions

Class NotebookSaveOptions

Το όνομα: Aspose.Note.Saving Συγκέντρωση: Aspose.Note.dll (25.4.0)

Μια αφηρημένη κατηγορία βάσης που αντιπροσωπεύει τις επιλογές αποθήκευσης σημειωματάριο για μια συγκεκριμένη μορφήκαι παρέχει κοινές επιλογές εξοικονόμησης για όλους τους κόμβους παιδιών εγγράφου.

public abstract class NotebookSaveOptions<tdocumentsaveoptions> : NotebookSaveOptions where TDocumentSaveOptions : SaveOptions

Τύπος παραμέτρων

TDocumentSaveOptions

Οι επιλογές αποθήκευσης για όλα τα παιδικά έγγραφα του notebook.

Inheritance

object NotebookSaveOptions NotebookSaveOptions

Κληρονομημένα μέλη

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 με καθορισμένες επιλογές.

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

NotebookSaveOptions()

protected NotebookSaveOptions()

Properties

DocumentSaveOptions

Αποκτά ή ρυθμίζει τις επιλογές αποθήκευσης για όλα τα παιδικά έγγραφα του σημειωματάριου.

public TDocumentSaveOptions DocumentSaveOptions { get; protected set; }

Αξία ιδιοκτησίας

TDocumentSaveΕπιλογές

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);

SaveFormat

Αποκτά τη μορφή στην οποία αποθηκεύεται το σημειωματάριο.

public override SaveFormat SaveFormat { get; }

Αξία ιδιοκτησίας

SaveFormat

Methods

GetDocumentSaveOptions()

Αποκτά τις επιλογές αποθήκευσης για όλα τα παιδικά έγγραφα του σημειωματάριου.

public override SaveOptions GetDocumentSaveOptions()

Returns

SaveOptions

Το Aspose.Note.Σώστε.SaveOptions

 Ελληνικά