Class NotebookSaveOptions
A név: Aspose.Note.Saving Összefoglaló: Aspose.Note.dll (25.4.0)
Az absztrakt bázisosztály, amely egy adott formátumhoz a notebook mentési opciókat képviseliés közös megtakarítási lehetőségeket biztosít minden dokumentum gyermek csomópont számára.
public abstract class NotebookSaveOptions<tdocumentsaveoptions> : NotebookSaveOptions where TDocumentSaveOptions : SaveOptions
A paraméterek típusa
TDocumentSaveOptions
A jegyzetfüzet összes gyermekdokumentumának mentési lehetősége.
Inheritance
object
←
NotebookSaveOptions
←
NotebookSaveOptions
Örökletes tagok
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
Megmutatja, hogyan lehet menteni a notebook pdf formátumban a meghatározott opciókkal.
// 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
Megkapja vagy beállítja a mentési opciókat a jegyzetfüzet összes gyermekdokumentumához.
public TDocumentSaveOptions DocumentSaveOptions { get; protected set; }
ingatlan értéke
TDokumentSaveOptions
Examples
Megmutatja, hogyan lehet menteni a notebook pdf formátumban a meghatározott opciókkal.
// 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
Megkapja azt a formátumot, amelyben a notebook mentett.
public override SaveFormat SaveFormat { get; }
ingatlan értéke
Methods
GetDocumentSaveOptions()
Megkapja a tárolási lehetőségeket a notebook összes gyermekdokumentumára.
public override SaveOptions GetDocumentSaveOptions()
Returns
A Aspose.Note.Saving.saveOptions beállítása.