Class NotebookLoadOptions
Το όνομα: Aspose.Note Συγκέντρωση: Aspose.Note.dll (25.4.0)
Επιλογές που χρησιμοποιούνται για να φορτώσετε ένα σημειωματάριο.
public class NotebookLoadOptions
{
public string AwsRegion { get; set; } = string.Empty;
public bool AutoDetectResources { get; set; } = true;
}
Inheritance
Κληρονομημένα μέλη
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Examples
Δείχνει πώς να αποκρυπτογραφήσει ένα σημειωματάριο.
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
Λογισμικές επιλογές ()
public NotebookLoadOptions()
{
}
Properties
DeferredLoading
Αποκτά ή καθορίζει μια τιμή που υποδεικνύει αν τα παιδιά έγγραφαΘα πρέπει να φορτωθεί ρητά αργότερα.
public bool DeferredLoading
{
get;
set;
}
Αξία ιδιοκτησίας
Examples
Δείχνει πώς να αποκρυπτογραφήσει ένα σημειωματάριο.
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.Nootbook.LoadChildDocument(System.String) ή Aspos.Tweet.Outbook (Systems.Strip)για το παιδικό κόμβο του κάθε φορητού υπολογιστή μετά το ίδιο το φορέα υπολογισμού φορτώνονται.Εάν η τιμή “δίκαιη”, Asposa.
InstantLoading
Αποκτά ή καθορίζει μια τιμή που υποδεικνύει αν τα παιδιά έγγραφαΘα πρέπει να φορτίζεται ενώ το γονικό έγγραφο είναι φορτισμένο.
public bool InstantLoading
{
get;
set;
}
Αξία ιδιοκτησίας
Remarks
Η προεπιλεγμένη τιμή είναι “ψευδής”, οπότε τα έγγραφα παιδιών θα φορτώνονται “λαϊκά”, δηλαδή η φόρτισή τους θα πρέπει να αναβληθεί μέχρι την άμεση πρόσβαση σε ένα συγκεκριμένο παιδί.Η τιμή “πραγματική” υποδεικνύει ότι το φορτίο τους πρόκειται να γίνει αμέσως.