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ıfve tüm belge çocuk düğümleri için ortak tasarruf seçenekleri sağlar.
public abstract class NotebookSaveOptions<tdocumentsaveoptions> : NotebookSaveOptions where TDocumentSaveOptions : SaveOptions
Parametreler türü
TDocumentSaveOptions
Not defterinin tüm çocuk belgeleri için tasarruf seçenekleri.
Inheritance
object
←
NotebookSaveOptions
←
NotebookSaveOptions
mirasçı üyeleri
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
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);
Constructors
NotebookSaveOptions()
protected NotebookSaveOptions()
Properties
DocumentSaveOptions
Not defterinin tüm çocuk belgeleri için kaydetme seçeneklerini alır veya ayarlar.
public TDocumentSaveOptions DocumentSaveOptions { get; protected set; }
Mülkiyet Değer
TDocumentSaveOptions Hakkında
Examples
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);
SaveFormat
Not defterinin kaydedildiği biçimi alır.
public override SaveFormat SaveFormat { get; }
Mülkiyet Değer
Methods
GetDocumentSaveOptions()
Not defterinin tüm çocuk belgeleri için tasarruf seçenekleri alır.
public override SaveOptions GetDocumentSaveOptions()
Returns
Aspose.Note.Saving.Güven Seçenekleri