Class NotebookSaveOptions

Class NotebookSaveOptions

اسم الفضاء : Aspose.Note.Saving تجميع: Aspose.Note.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; }

قيمة الممتلكات

TDocumentالخيارات

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.

 عربي