Class NotebookSaveOptions
ja nimityö: Aspose.Note.Saving Kokoelma: Aspose.Note.dll (25.4.0)
Abstraktinen perusluokka, joka edustaa tietyn muodon kannettavan tallennusvaihtoehtojaja tarjoaa yhteisiä säästövaihtoehtoja kaikille asiakirjojen lapsikohteille.
public abstract class NotebookSaveOptions<tdocumentsaveoptions> : NotebookSaveOptions where TDocumentSaveOptions : SaveOptions
Parametrien tyyppi
TDocumentSaveOptions
Tallennusvaihtoehtoja kaikille tietokoneen lapsen asiakirjoille.
Inheritance
object
←
NotebookSaveOptions
←
NotebookSaveOptions
Perintöjäsenet
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
Näytä, miten tallentaa tietokone PDF-muodossa määritettyjä vaihtoehtoja.
// 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
Saat tai asettaa tallennusvaihtoehdot kaikille tietokoneen lapsen asiakirjoille.
public TDocumentSaveOptions DocumentSaveOptions { get; protected set; }
Omistuksen arvo
TDokumenttiOptiot
Examples
Näytä, miten tallentaa tietokone PDF-muodossa määritettyjä vaihtoehtoja.
// 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
Saat muodon, jossa muistikortti on tallennettu.
public override SaveFormat SaveFormat { get; }
Omistuksen arvo
Methods
GetDocumentSaveOptions()
Saat säästämismahdollisuudet kaikille tietokoneen lapsen asiakirjoille.
public override SaveOptions GetDocumentSaveOptions()
Returns
Se on Aspose.Note.Saving .SaveOptions.