Class NotebookSaveOptions

Class NotebookSaveOptions

Pôvodný názov: Aspose.Note.Saving Zhromaždenie: Aspose.Note.dll (25.4.0)

Abstraktná základná trieda, ktorá predstavuje možnosti úspory notebooku pre konkrétny formáta poskytuje spoločné možnosti úspory pre všetky dokumentové detské uzly.

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

Typ parametrov

TDocumentSaveOptions

Možnosti ušetrenia pre všetky detské dokumenty notebooku.

Inheritance

object NotebookSaveOptions NotebookSaveOptions

Z dedičných členov

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

Ukáže, ako uložiť notebook vo formáte PDF so špecifikovanými možnosťami.

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

Získajte alebo nastavíte možnosti ušetrenia pre všetky detské dokumenty notebooku.

public TDocumentSaveOptions DocumentSaveOptions { get; protected set; }

Hodnota nehnuteľnosti

TDokumentSaveOptions

Examples

Ukáže, ako uložiť notebook vo formáte PDF so špecifikovanými možnosťami.

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

Dostane formát, v ktorom je notebook uložený.

public override SaveFormat SaveFormat { get; }

Hodnota nehnuteľnosti

SaveFormat

Methods

GetDocumentSaveOptions()

Získajte možnosti ušetrenia pre všetky detské dokumenty notebooku.

public override SaveOptions GetDocumentSaveOptions()

Returns

SaveOptions

Zariadenie WL31_ .Saving.SaveOptions.

 Slovenčina