Class NotebookSaveOptions
Nombre del espacio: Aspose.Note.Saving Asamblea: Aspose.Note.dll (25.4.0)
Una clase de base abstracta que representa las opciones de ahorro de notebook para un formato específicoy proporciona opciones de ahorro comunes para todos los nodos infantiles de documento.
public abstract class NotebookSaveOptions<tdocumentsaveoptions> : NotebookSaveOptions where TDocumentSaveOptions : SaveOptions
Tipos de Parámetros
TDocumentSaveOptions
Las opciones de almacenamiento para todos los documentos infantiles del notebook.
Inheritance
object
←
NotebookSaveOptions
←
NotebookSaveOptions
Miembros heredados
NotebookSaveOptions.GetDocumentSaveOptions() ,y, NotebookSaveOptions.SaveFormat ,y, NotebookSaveOptions.Flatten ,y, NotebookSaveOptions.DeferredSaving ,y, object.GetType() ,y, object.MemberwiseClone() ,y, object.ToString() ,y, object.Equals(object?) ,y, object.Equals(object?, object?) ,y, object.ReferenceEquals(object?, object?) ,y, object.GetHashCode()
Examples
Mostra cómo guardar un notebook en formato pdf con opciones especificadas.
// 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
Obtenga o establece las opciones de ahorro para todos los documentos infantiles del notebook.
public TDocumentSaveOptions DocumentSaveOptions { get; protected set; }
Valor de la propiedad
TDocumentOpciones
Examples
Mostra cómo guardar un notebook en formato pdf con opciones especificadas.
// 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
Obtenga el formato en el que se salva el notebook.
public override SaveFormat SaveFormat { get; }
Valor de la propiedad
Methods
GetDocumentSaveOptions()
Obtenga las opciones de ahorro para todos los documentos infantiles de la computadora.
public override SaveOptions GetDocumentSaveOptions()
Returns
El Aspose.Note.Saving .SaveOptions.