Class Splitter
Class Splitter
Namespace: Aspose.Pdf.Plugins
Assembly: Aspose.PDF.dll
Aspose.Pdf.Plugins.Splitter eklentisini temsil eder.
public class Splitter : IPlugin
Kalıtım
Uygulamalar
Kalıtılan Üyeler
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Örnekler
Bu örnek, PDF belgesinin nasıl bölüneceğini gösterir.
// Splitter oluştur
var splitter = new Splitter();
// Talimatları ayarlamak için SplitOptions nesnesi oluştur
var opt = new SplitOptions();
// girdi dosyası yollarını ekle
opt.AddInput(new FileDataSource(inputPath));
// çıktı dosyası yollarını ayarla
opt.AddOutput(new FileDataSource(outputPath1));
opt.AddOutput(new FileDataSource(outputPath2));
// işlemi gerçekleştir
splitter.Process(opt);
Yapıcılar
Splitter()
public Splitter()
Yöntemler
Process(IPluginOptions)
Belirtilen parametrelerle Aspose.Pdf.Plugins.Splitter işlemini başlatır.
public ResultContainer Process(IPluginOptions options)
Parametreler
options
IPluginOptions
Aspose.Pdf.Plugins.Splitter için talimatları içeren bir seçenek nesnesi.
Dönüş Değeri
İşlemin sonucunu içeren bir ResultContainer nesnesi.