Class NotebookLoadOptions

Class NotebookLoadOptions

Il nome: Aspose.Note Assemblea: Aspose.Note.dll (25.4.0)

Opzioni utilizzate per caricare un notebook.

public class NotebookLoadOptions
   {
      public string AwsRegion { get; set; } = string.Empty;
      public bool AutoDetectResources { get; set; } = true;
   }

Inheritance

object NotebookLoadOptions

I membri ereditari

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

Examples

Mostra come creare un notebook crittografato.

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

Riceve o impone un valore che indica se i documenti dei bambinideve essere esplicitamente caricato in seguito.

public bool DeferredLoading
   {
      get;
      set;
   }

Valore di proprietà

bool

Examples

Mostra come creare un notebook crittografato.

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

Il valore predefinito è ‘falso’, quindi i documenti per bambini saranno caricati implicitamente.Il valore ’true’ indica che l’utente dovrebbe chiamare Aspose.Note.Notebook.LoadChildDocument(System.String) o Aspos.noteBook.L’importante nodo per i bambini di ciascun notebook dopo che il notebook stesso è caricato.Se il valore è “verdo”, Asposa.

InstantLoading

Riceve o impone un valore che indica se i documenti dei bambinidovrebbero essere caricati mentre il documento genitore è caricato.

public bool InstantLoading
   {
      get;
      set;
   }

Valore di proprietà

bool

Remarks

Il valore predefinito è “falso”, quindi i documenti per bambini saranno caricati “laziamente”, cioè il loro carico dovrebbe essere ritardato fino ad un accesso diretto a un bambino specifico.Il valore “true” indica che il caricatore deve essere fatto immediatamente.

 Italiano