Class Splitter

Класс Splitter

Представляет плагин Splitter.

public class Splitter : IPlugin

Конструкторы

ИмяОписание
Splitter()Конструктор по умолчанию.

Методы

ИмяОписание
Process(IPluginOptions)Запускает обработку Splitter с указанными параметрами.

Примеры

Пример демонстрирует, как разделить PDF документ.

// 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);

См. также