Class NotebookLoadOptions

Class NotebookLoadOptions

Tên không gian: Aspose.Note Tổng hợp: Aspose.Note.dll (25.4.0)

Các tùy chọn được sử dụng để tải một notebook.

public class NotebookLoadOptions

Inheritance

object NotebookLoadOptions

Thành viên thừa kế

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

Examples

Hiển thị làm thế nào để một máy tính xách tay mã hóa.

// 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

Nhận hoặc đặt một giá trị cho thấy liệu trẻ em có tài liệu hay khôngNó nên được tải rõ ràng sau đó.

public bool DeferredLoading { get; set; }

Giá trị bất động sản

bool

Examples

Hiển thị làm thế nào để một máy tính xách tay mã hóa.

// 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

Giá trị mặc định là ’lầm’, vì vậy các tài liệu trẻ em sẽ được tải theo cách giả định.Value ’true’ là chỉ ra rằng người dùng nên gọi Aspose.Note.Notebook.LoadChildDocument(System.String) hoặc __ WL31.Notbook (Systems. String).Đối với node trẻ của mỗi máy tính xách tay sau khi nó tự tải lên.Trong trường hợp giá trị ’thực tế’, W L31.Thuy chọn Notebook LoadOptions.InstantLoading sẽ bị bỏ qua.

InstantLoading

Nhận hoặc đặt một giá trị cho thấy liệu trẻ em có tài liệu hay khôngphải được tải trong khi tài liệu mẹ đẻ đang tải.

public bool InstantLoading { get; set; }

Giá trị bất động sản

bool

Remarks

Giá trị mặc định là ’lỗ hổng’, vì vậy các tài liệu trẻ em sẽ được tải “lẻo”, nghĩa là việc tải của họ nên được trì hoãn cho đến khi có quyền truy cập trực tiếp đến một đứa trẻ cụ thể.Giá ‘sự thật’ chỉ ra rằng tải chúng phải được thực hiện ngay lập tức.

 Tiếng Việt