Class NotebookSaveOptions
Nome do espaço: Aspose.Note.Saving Assembleia: Aspose.Note.dll (25.4.0)
Uma classe de base abstrata que representa opções de poupança de notebook para um formato específicoe fornece opções de poupança comuns para todos os nodos de criança de documento.
public abstract class NotebookSaveOptions<tdocumentsaveoptions> : NotebookSaveOptions where TDocumentSaveOptions : SaveOptions
Tipo de Parâmetros
TDocumentSaveOptions
As opções de armazenamento para todos os documentos da criança do notebook.
Inheritance
object
←
NotebookSaveOptions
←
NotebookSaveOptions
Membros herdados
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 como salvar um notebook em formato PDF com opções 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
Obter ou definir as opções de poupança para todos os documentos da criança do notebook.
public TDocumentSaveOptions DocumentSaveOptions { get; protected set; }
Valor da propriedade
TDocumentOpções
Examples
Mostra como salvar um notebook em formato PDF com opções 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
Obtenha o formato em que o notebook é salvo.
public override SaveFormat SaveFormat { get; }
Valor da propriedade
Methods
GetDocumentSaveOptions()
Obtenha as opções de poupança para todos os documentos da criança do notebook.
public override SaveOptions GetDocumentSaveOptions()
Returns
O Aspose.Note .Saving.SaveOptions.