Class Splitter
Splitter-Klasse
Stellt das Splitter
-Plugin dar.
public class Splitter : IPlugin
Konstruktoren
Name | Beschreibung |
---|---|
Splitter() | Der Standardkonstruktor. |
Methoden
Name | Beschreibung |
---|---|
Process(IPluginOptions) | Startet die Splitter -Verarbeitung mit den angegebenen Parametern. |
Beispiele
Das Beispiel zeigt, wie man ein PDF-Dokument aufteilt.
// create Splitter
var splitter = new Splitter();
// create SplitOptions object to set instructions
var opt = new SplitOptions();
// add input file paths
opt.AddInput(new FileDataSource(inputPath));
// set output file paths
opt.AddOutput(new FileDataSource(outputPath1));
opt.AddOutput(new FileDataSource(outputPath2));
// perform the process
splitter.Process(opt);
Siehe auch
- Schnittstelle IPlugin
- Namespace Aspose.Pdf.Plugins
- Assembly Aspose.PDF