Class NotebookSaveOptions

Class NotebookSaveOptions

İsim alanı : Aspose.Note.Saving Toplama: Aspose.Note.dll (25.4.0)

Belirli bir format için dizüstü bilgisayar tasarrufu seçeneklerini temsil eden abstrak bir temel sınıf.

public abstract class NotebookSaveOptions

Inheritance

object NotebookSaveOptions

Derived

NotebookSaveOptions

mirasçı üyeleri

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

Examples

PDF formatında kaydedilen not defterini nasıl kaydeteceğinizi gösterir.

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

Belirlenen seçeneklerle PDF formatında dizüstü bilgisayarı nasıl kaydedeceğinizi gösterir.

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

Görüntü olarak bir dizüstü bilgisayarı nasıl kaydeteceğini gösterir.

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

Çocuğun belgeleri olup olmadığını gösteren bir değer alır veya ayarlar.Açıkça kurtarılmalıdır.

public bool DeferredSaving { get; set; }

Mülkiyet Değer

bool

Remarks

Varsayılan değeri ‘yanlış’dır, bu yüzden çocuk belgeleri kasıtlı olarak kaydedilecektir.Gerçek değer, kullanıcının her dizüstü bilgisayarın çocuk düğmesini açıkça kaydetmesi gerektiğini gösterir.Eğer dizayn aktarmak için tasarruf edilirse, değer her zaman ‘gerçek’ olmasına rağmen kullanıcı tarafından açık bir şekilde ‘sahte’ olarak ayarlanmıştır.

Flatten

Not defteri çocuk hiyerarşisinin kaydedildiğini gösteren bir değer alır veya ayarlar.

public bool Flatten { get; set; }

Mülkiyet Değer

bool

Examples

PDF formatında kaydedilen not defterini nasıl kaydeteceğinizi gösterir.

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

Görüntü olarak bir dizüstü bilgisayarı nasıl kaydeteceğini gösterir.

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

Not defterinin kaydedildiği biçimi alır.

public abstract SaveFormat SaveFormat { get; }

Mülkiyet Değer

SaveFormat

Methods

GetDocumentSaveOptions()

Not defterinin tüm çocuk belgeleri için tasarruf seçenekleri alır.

public abstract SaveOptions GetDocumentSaveOptions()

Returns

SaveOptions

Aspose.Note.Saving.Güven Seçenekleri

 Türkçe