Class NotebookLoadOptions
İsim alanı : Aspose.Note Toplama: Aspose.Note.dll (25.4.0)
Not defterini yüklemek için kullanılan seçenekler.
public class NotebookLoadOptions
Inheritance
mirasçı üyeleri
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Examples
Şifreli bir dizüstü bilgisayara nasıl girilir.
// 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
Çocuğun belgeleri olup olmadığını gösteren bir değer alır veya ayarlar.Daha sonra açıkça doldurulmalıdır.
public bool DeferredLoading { get; set; }
Mülkiyet Değer
Examples
Şifreli bir dizüstü bilgisayara nasıl girilir.
// 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
Varsayılan değeri ‘yanlış’dır, bu yüzden çocuk belgeleri dolaylı olarak yüklenecektir.Value ’true’ kullanıcının Aspose.Note.Notebook.LoadChildDocument(System.String) ya da __ WL31.Notobook (Sistem. String), her dizüstü bilgisayarın çocuk düğmesi yükledikten sonra.Eğer değer ‘gerçek’ ise, www.Wl31.Nootbook LoadOptions.InstantLoading seçeneği görmezden gelecek.
InstantLoading
Çocuğun belgeleri olup olmadığını gösteren bir değer alır veya ayarlar.Anne belgesinin yüklendiği sürece doldurulmalıdır.
public bool InstantLoading { get; set; }
Mülkiyet Değer
Remarks
Varsayılan değeri ‘yanlış’dır, bu nedenle çocuk belgeleri “yumuşak” olarak yüklenir,yani yüklemeyi belirli bir çocuğa doğrudan erişene kadar ertelemelidir.Değer ‘gerçek’ bunların yüklemelerinin hemen yapılması gerektiğini gösterir.