Class NotebookSaveOptions

Class NotebookSaveOptions

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

特定のフォーマットのノートブック保存オプションを表す抽象的なベースクラス。

public abstract class NotebookSaveOptions
   {
   }

Inheritance

object NotebookSaveOptions

Derived

NotebookSaveOptions

相続人

object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Examples

フラットされたノートブックをPDF形式で保存する方法を示します。

string dataDir = RunExamples.GetDataDir_NoteBook();
   var notebook = new Notebook(dataDir + "Notizbuch Öffnen.onetoc2");
   string dataDirModified = dataDir + "ConvertToPDFAsFlattened_out.pdf";
   notebook.Save(
       dataDirModified,
       new NotebookPdfSaveOptions
       {
           Flatten = true
       });

指定されたオプションでPDF形式のノートブックを保存する方法を示します。

string dataDir = RunExamples.GetDataDir_NoteBook();
   var notebook = new Notebook(dataDir + "Notizbuch Öffnen.onetoc2");
   var notebookSaveOptions = new NotebookPdfSaveOptions();
   var documentSaveOptions = notebookSaveOptions.DocumentSaveOptions;
   documentSaveOptions.PageSplittingAlgorithm = new KeepSolidObjectsAlgorithm();
   dataDir += "ConvertToPDF_out.pdf";
   notebook.Save(dataDir, notebookSaveOptions);

画像としてフラットされたノートブックを保存する方法を示します。

string dataDir = RunExamples.GetDataDir_NoteBook();
   var notebook = new Notebook(dataDir + "Notizbuch öffnen.onetoc2");
   var notebookSaveOptions = new NotebookImageSaveOptions(SaveFormat.Png);
   var documentSaveOptions = notebookSaveOptions.DocumentSaveOptions;
   documentSaveOptions.Resolution = 400;
   notebookSaveOptions.Flatten = true;
   dataDir += "ConvertToImageAsFlattenedNotebook_out.png";
   notebook.Save(dataDir, notebookSaveOptions);

Constructors

ノートブックSaveOptions()

protected NotebookSaveOptions()
   {
   }

Properties

DeferredSaving

子どもの文書を取得するか、あるいは表示する値を設定します。明確に救われるべきだ。

public bool DeferredSaving
   {
      get;
      set;
   }

不動産価値

bool

Remarks

デフォルト値は「偽物」ですので、子どもの文書は暗示的に保存されます。価値「真実」は、ユーザーがそれぞれのノートブックの子ノードを明確に保存するべきであることを示しています。

Flatten

ノートブックの子供の階級が保存されているかどうかを示す値を取得または設定します。

public bool Flatten
   {
      get;
      set;
   }

不動産価値

bool

Examples

フラットされたノートブックをPDF形式で保存する方法を示します。

string dataDir = RunExamples.GetDataDir_NoteBook();
   var notebook = new Notebook(dataDir + "Notizbuch Öffnen.onetoc2");
   dataDir += "ConvertToPDFAsFlattened_out.pdf";
   notebook.Save(
       dataDir,
       new NotebookPdfSaveOptions
       {
           Flatten = true
       });

画像としてフラットされたノートブックを保存する方法を示します。

string dataDir = RunExamples.GetDataDir_NoteBook();
   var notebook = new Notebook(dataDir + "Notizbuch öffnen.onetoc2");
   var notebookSaveOptions = new NotebookImageSaveOptions(SaveFormat.Png);
   var documentSaveOptions = notebookSaveOptions.DocumentSaveOptions;
   documentSaveOptions.Resolution = 400;
   notebookSaveOptions.Flatten = true;
   dataDir += "ConvertToImageAsFlattenedNotebook_out.png";
   notebook.Save(dataDir, notebookSaveOptions);

SaveFormat

ノートブックが保存されているフォーマットを取得します。

public abstract string SaveFormat
   {
      get;
   }

不動産価値

SaveFormat

Methods

GetDocumentSaveオプション()

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

public abstract SaveOptions GetDocumentSaveOptions()
    {
        return new SaveOptions();
    }

Returns

SaveOptions

ASPOSE.Note.Saving サブオプション

 日本語