Class NotebookLoadOptions
Der Name: Aspose.Note Zusammensetzung: Aspose.Note.dll (25.4.0)
Optionen, die verwendet werden, um ein Notebook zu laden.
public class NotebookLoadOptions
Inheritance
Vererbte Mitglieder
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Examples
Zeigt, wie man ein verschlüsseltes Notebook macht.
// 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
Er erhält oder stellt einen Wert an, der darauf hindeutet, ob Kinder DokumenteEs sollte später ausdrücklich geladen werden.
public bool DeferredLoading { get; set; }
Eigentumswert
Examples
Zeigt, wie man ein verschlüsseltes Notebook macht.
// 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
Standardwert ist ‘falsch’, so werden Kinderdokumente implizit geladen.Value ’true’ zeigt an, dass der Benutzer Aspose.Notebook.LoadChildDocument(System.String) oder Aspos.MoteBook.LawNotbook(Matebook)für jedes Notebook Kind Node nach dem Laden des Noteboards selbst.Wenn der Wert ‘richtig’ ist, wird die Option Asposa.Punktebook LoadOptions.InstantLoading ignoriert werden.If the notebook is loading from stream, the value is always ‘real’ despite was explicit set by the user to ‘false’.
InstantLoading
Er erhält oder stellt einen Wert an, der darauf hindeutet, ob Kinder DokumenteSie müssen während der Lade des Mutterdokuments geladen werden.
public bool InstantLoading { get; set; }
Eigentumswert
Remarks
Der Standardwert ist „falsch“, so dass Kinderdokumente „lärmlich“ geladen werden, d.h. ihre Ladung sollte bis zum direkten Zugang zu einem bestimmten Kind verschoben werden.