Class NotebookSaveOptions

Class NotebookSaveOptions

名称: Aspose.Note.Saving 合計: Aspose.Note.dll (25.4.0)

特定のフォーマットのノートブック保存オプションを表す抽象的なベースクラスそして、すべての文書児童ノードのための共通の節約オプションを提供します。

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

タイプパラメーター

TDocumentSaveOptions

すべてのノートブックの児童文書の保存オプション。

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

不動産価値

ドキュメンタリーオプション

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

_WL31 _ .Saving.Saveオプション

 日本語