Class NotebookSaveOptions

Class NotebookSaveOptions

Název místa: Aspose.Note.Saving Shromáždění: Aspose.Note.dll (25.4.0)

Abstraktní základní třída, která představuje možnosti ušetření notebooku pro konkrétní formáta poskytuje společné možnosti úspory pro všechny dokumenty dětské uzly.

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

Typy parametrů

TDocumentSaveOptions

Možnosti ušetření pro všechny dětské dokumenty notebooku.

Inheritance

object NotebookSaveOptions NotebookSaveOptions

Dědiční č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

Ukazuje, jak uložit notebook ve formátu PDF s specifikovanými možnostmi.

// 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ískáte nebo nastavíte možnosti ušetření pro všechny dětské dokumenty notebooku.

public TDocumentSaveOptions DocumentSaveOptions { get; protected set; }

Hodnota nemovitosti

TDokumentSaveOptions

Examples

Ukazuje, jak uložit notebook ve formátu PDF s specifikovanými možnostmi.

// 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, ve kterém je notebook uložen.

public override SaveFormat SaveFormat { get; }

Hodnota nemovitosti

SaveFormat

Methods

GetDocumentSaveOptions()

Získáte možnosti ušetření pro všechny dětské dokumenty notebooku.

public override SaveOptions GetDocumentSaveOptions()

Returns

SaveOptions

Připravte se na WL31_.Saving.saveOptions.

 Čeština