Class NotebookSaveOptions
Il nome: Aspose.Note.Saving Assemblea: Aspose.Note.dll (25.4.0)
Una classe di base astratta che rappresenta le opzioni di risparmio del notebook per un formato specificoe fornisce opzioni comuni di risparmio per tutti i nodi dei documenti per bambini.
public abstract class NotebookSaveOptions<tdocumentsaveoptions> : NotebookSaveOptions where TDocumentSaveOptions : SaveOptions
Tipo di parametri
TDocumentSaveOptions
Le opzioni di risparmio per tutti i documenti per bambini del notebook.
Inheritance
object
←
NotebookSaveOptions
←
NotebookSaveOptions
I membri ereditari
NotebookSaveOptions.GetDocumentSaveOptions() , NotebookSaveOptions.SaveFormat , NotebookSaveOptions.Flatten , NotebookSaveOptions.DeferredSaving , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Examples
Mostra come salvare il notebook in formato pdf con le opzioni specificate.
// The path to the documents directory.
string dataDir = RunExamples.GetDataDir_NoteBook();
// Load a OneNote Notebook
var notebook = new Notebook(dataDir + "Notizbuch �ffnen.onetoc2");
var notebookSaveOptions = new NotebookPdfSaveOptions();
var documentSaveOptions = notebookSaveOptions.DocumentSaveOptions;
documentSaveOptions.PageSplittingAlgorithm = new KeepSolidObjectsAlgorithm();
dataDir = dataDir + "ConvertToPDF_out.pdf";
// Save the Notebook
notebook.Save(dataDir, notebookSaveOptions);
Constructors
NotebookSaveOptions()
protected NotebookSaveOptions()
Properties
DocumentSaveOptions
Riceve o impone le opzioni di salvataggio per tutti i documenti per bambini del notebook.
public TDocumentSaveOptions DocumentSaveOptions { get; protected set; }
Valore di proprietà
TDocumentOpzioni
Examples
Mostra come salvare il notebook in formato pdf con le opzioni specificate.
// The path to the documents directory.
string dataDir = RunExamples.GetDataDir_NoteBook();
// Load a OneNote Notebook
var notebook = new Notebook(dataDir + "Notizbuch �ffnen.onetoc2");
var notebookSaveOptions = new NotebookPdfSaveOptions();
var documentSaveOptions = notebookSaveOptions.DocumentSaveOptions;
documentSaveOptions.PageSplittingAlgorithm = new KeepSolidObjectsAlgorithm();
dataDir = dataDir + "ConvertToPDF_out.pdf";
// Save the Notebook
notebook.Save(dataDir, notebookSaveOptions);
SaveFormat
Riceve il formato in cui viene salvato il notebook.
public override SaveFormat SaveFormat { get; }
Valore di proprietà
Methods
GetDocumentSaveOptions()
Ottieni le opzioni di risparmio per tutti i documenti per bambini del notebook.
public override SaveOptions GetDocumentSaveOptions()
Returns
Il Aspose.Note.Saving.saveOptions.