Class Splitter

Bölücü sınıfı

Bölücü eklentisini temsil eder.

public class Splitter : IPlugin

Yapıcılar

AdAçıklama
Bölücü()Varsayılan yapıcı.

Yöntemler

AdAçıklama
İşlem(IPluginOptions)Belirtilen parametrelerle Bölücü işlemini başlatır.

Örnekler

Örnek, PDF belgesinin nasıl bölüneceğini gösterir.

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

Ayrıca Bakınız