Class NotebookSaveOptions

Class NotebookSaveOptions

نام ها : Aspose.Note.Saving جمع آوری: WL31_.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; }

ارزش املاک

TDocumentSaveOptions

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.SaveOptions را انتخاب کنید.

 فارسی