Class NotebookLoadOptions

Class NotebookLoadOptions

ชื่อพื้นที่: Aspose.Note การประกอบ: Aspose.Note.dll (25.4.0)

ตัวเลือกที่ใช้ในการโหลดแล็ปท็อป

public class NotebookLoadOptions

Inheritance

object NotebookLoadOptions

อนุญาโตตุลาการ

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

Examples

แสดงวิธีการทําเครื่องหมายที่เข้ารหัส

// The path to the documents directory.
                                              string dataDir = RunExamples.GetDataDir_NoteBook();
                                              var notebook = new Notebook(dataDir + "test.onetoc2", new NotebookLoadOptions() { DeferredLoading = true });

                                              notebook.LoadChildDocument(dataDir + "Aspose.one");  
                                              notebook.LoadChildDocument(dataDir + "Locked Pass1.one", new LoadOptions() { DocumentPassword = "pass" });
                                              notebook.LoadChildDocument(dataDir + "Locked Pass2.one", new LoadOptions() { DocumentPassword = "pass2" });

Constructors

NotebookLoadOptions()

public NotebookLoadOptions()

Properties

DeferredLoading

รับหรือตั้งค่าที่แสดงให้เห็นว่าเด็กเอกสารจะถูกโหลดอย่างชัดเจนหลังจากนั้น

public bool DeferredLoading { get; set; }

คุณสมบัติมูลค่า

bool

Examples

แสดงวิธีการทําเครื่องหมายที่เข้ารหัส

// The path to the documents directory.
                                              string dataDir = RunExamples.GetDataDir_NoteBook();
                                              var notebook = new Notebook(dataDir + "test.onetoc2", new NotebookLoadOptions() { DeferredLoading = true });

                                              notebook.LoadChildDocument(dataDir + "Aspose.one");  
                                              notebook.LoadChildDocument(dataDir + "Locked Pass1.one", new LoadOptions() { DocumentPassword = "pass" });
                                              notebook.LoadChildDocument(dataDir + "Locked Pass2.one", new LoadOptions() { DocumentPassword = "pass2" });

Remarks

หมายเลขค่าเริ่มต้นคือ ‘ความผิด’, ดังนั้นเอกสารเด็กจะถูกโหลดโดย implicitly.Value ’true’ จะแสดงให้เห็นว่าผู้ใช้ควรเรียก Aspose.Note.Notebook.LoadChildDocument(System.String) หรือ __ WL31.Notbook (Systems. String ) สําหรับแต่ละโน้ตโน๊ตบุรุษหลังจากที่โน้มตารางตัวเองจะโหลด หากค่าเป็น ‘จริง’ _ Wl31.น็อตโก้ LoadOptions.InstantLoading option จะถูก ignored.If the notebook is load from stream, the value is always ’ true’ despite was explicitely set by the user to ‘false’.

InstantLoading

รับหรือตั้งค่าที่แสดงให้เห็นว่าเด็กเอกสารมันควรจะโหลดในขณะที่เอกสารผู้ปกครองจะถูกโหลด

public bool InstantLoading { get; set; }

คุณสมบัติมูลค่า

bool

Remarks

หมายเลขค่าเริ่มต้นคือ ‘ความผิดพลาด’ ดังนั้นเอกสารเด็กจะถูกโหลด “ได้อย่างราบรื่น” ซึ่งหมายความว่าการโหลดของพวกเขาควรถูกยกเลิกจนถึงการเข้าถึงโดยตรงไปยังเด็กที่เฉพาะเจาะจง

 แบบไทย