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 형식으로 저장하는 방법을 보여줍니다.

// The path to the documents directory.
                                                              string dataDir = RunExamples.GetDataDir_NoteBook();

                                                              // Load a OneNote Notebook
                                                              var notebook = new Notebook(dataDir + "Notizbuch �ffnen.onetoc2");

                                                              // Save the Notebook
                                                              dataDir = dataDir + "ConvertToPDFAsFlattened_out.pdf";
                                                              notebook.Save(
                                                                  dataDir,
                                                                  new NotebookPdfSaveOptions
                                                                  {
                                                                      Flatten = true
                                                                  });

지정된 옵션으로 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);

그림으로 플레이트 노트북을 저장하는 방법을 보여줍니다.

// 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 NotebookImageSaveOptions(SaveFormat.Png);

                                                         var documentSaveOptions = notebookSaveOptions.DocumentSaveOptions;

                                                         documentSaveOptions.Resolution = 400;
                                                         notebookSaveOptions.Flatten = true;

                                                         dataDir = dataDir + "ConvertToImageAsFlattenedNotebook_out.png";

                                                         // Save the Notebook
                                                         notebook.Save(dataDir, notebookSaveOptions);

Constructors

NotebookSaveOptions()

protected NotebookSaveOptions()

Properties

DeferredSaving

어린이 문서가 있는지 여부를 나타내는 값을 얻거나 설정합니다.그것은 명시적으로 구원되어야합니다.

public bool DeferredSaving { get; set; }

부동산 가치

bool

Remarks

기본 값은 ‘잘못된’이므로 어린이 문서가 implicitly 저장됩니다.Value ’true’는 사용자가 각 노트북의 어린이 노드를 명시적으로 저장을해야한다는 것을 나타냅니다.노트톱이 스트리밍을 위해 절약되는 경우, 가치는 항상 ‘진실’하지만 사용자에 의해 명확하게 ‘거짓’으로 설정되었습니다.

Flatten

노트북 아이들의 계층이 저장되었는지 여부를 나타내는 값을 얻거나 설정합니다.

public bool Flatten { get; set; }

부동산 가치

bool

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

                                                              // Save the Notebook
                                                              dataDir = dataDir + "ConvertToPDFAsFlattened_out.pdf";
                                                              notebook.Save(
                                                                  dataDir,
                                                                  new NotebookPdfSaveOptions
                                                                  {
                                                                      Flatten = true
                                                                  });

그림으로 플레이트 노트북을 저장하는 방법을 보여줍니다.

// 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 NotebookImageSaveOptions(SaveFormat.Png);

                                                         var documentSaveOptions = notebookSaveOptions.DocumentSaveOptions;

                                                         documentSaveOptions.Resolution = 400;
                                                         notebookSaveOptions.Flatten = true;

                                                         dataDir = dataDir + "ConvertToImageAsFlattenedNotebook_out.png";

                                                         // Save the Notebook
                                                         notebook.Save(dataDir, notebookSaveOptions);

SaveFormat

노트북이 저장되는 형식을 얻습니다.

public abstract SaveFormat SaveFormat { get; }

부동산 가치

SaveFormat

Methods

GetDocumentSaveOptions()

노트북의 모든 어린이 문서에 대한 저장 옵션을 얻습니다.

public abstract SaveOptions GetDocumentSaveOptions()

Returns

SaveOptions

WL31_.Saving .SaveOptions.

 한국어