Class NotebookLoadOptions
Nom dels espais: Aspose.Note Assemblea: Aspose.Note.dll (25.4.0)
Opcions utilitzades per carregar un notebook.
public class NotebookLoadOptions
Inheritance
Membres heretats
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Examples
Mostra com fer un notebook xifrat.
// 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
Obtenir o establir un valor que indiqui si els nens documentsS’ha de carregar explícitament més tard.
public bool DeferredLoading { get; set; }
Valor de la propietat
Examples
Mostra com fer un notebook xifrat.
// 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
El valor estàndard és ‘false’, de manera que els documents infantils es carregaran implicitament.El valor ’true’ indica que l’usuari ha de trucar a Aspose.Note.Notebook.LoadChildDocument(System.String) o __ WL31.Notbook (Systems. String), per al nucli infantil de cada notebook després que el mateix el notebook sigui carregat.Si el valor és “fàgil”, Wl31.
InstantLoading
Obtenir o establir un valor que indiqui si els nens documentsS’ha de carregar mentre es carrega el document parental.
public bool InstantLoading { get; set; }
Valor de la propietat
Remarks
El valor estàndard és ‘false’, de manera que els documents infantils seran carregats “lasily”, és a dir, la seva càrrega s’ha de retardar fins a l’accés directe a un nen específic.