Class NotebookLoadOptions

Class NotebookLoadOptions

Numele spaţiului: Aspose.Note Asamblare: Aspose.Note.dll (25.4.0)

Opțiuni utilizate pentru a încărca un notebook.

public class NotebookLoadOptions

Inheritance

object NotebookLoadOptions

Membrii moștenitori

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

Examples

Află cum să faci un notebook criptat.

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

Obține sau stabilește o valoare care indică dacă copiii sunt documentear trebui să fie încărcată explicit mai târziu.

public bool DeferredLoading { get; set; }

Valoarea proprietății

bool

Examples

Află cum să faci un notebook criptat.

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

Valoarea predefinită este falsa, astfel încât documentele pentru copii vor fi încărcate implicit.Valuarea „true” indică faptul că utilizatorul ar trebui să cheme Aspose.Note.Notebook.LoadChildDocument(System.String) sau __ WL31.Notbook (Sistem. String).Pentru nodul copil al fiecărui notebook după ce notebook-ul însuși este încrucișat.Dacă valoarea este „veritabilă”, __www.notebook LoadOptions.InstantLoading opțiunea va fi ignorată.

InstantLoading

Obține sau stabilește o valoare care indică dacă copiii sunt documenteAr trebui să fie încărcat în timp ce documentul parental este încadrat.

public bool InstantLoading { get; set; }

Valoarea proprietății

bool

Remarks

Valoarea standardă este “falsa”, astfel încât documentele pentru copii vor fi încărcate “lasic”, adică încadrarea lor ar trebui amânată până la accesul direct la un anumit copil.Valuarea “faptă” indică faptul că încuraja lor trebuie făcută imediat.

 Română