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; }
คุณสมบัติมูลค่า
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; }
คุณสมบัติมูลค่า
Methods
GetDocumentSaveOptions()
รับตัวเลือกการบันทึกสําหรับเอกสารเด็กทั้งหมดของแล็ปท็อป
public override SaveOptions GetDocumentSaveOptions()
Returns
ตัวเลือก WL31_.Saving .SaveOptions