Class Splitter

Class Splitter

Tên không gian: Aspose.Pdf.Plugins Tổng hợp: Aspose.PDF.dll (25.4.0)

Hiển thị Aspose.Pdf.Plugins.Splitter plugin

public class Splitter : IPlugin

Inheritance

object Splitter

Implements

IPlugin

Thành viên thừa kế

object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Examples

Ví dụ này cho thấy cách chia tài liệu 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);

Constructors

Splitter()

public Splitter()

Methods

Process(IPluginTùy chọn)

Bắt đầu xử lý Aspose.Pdf.Plugins.Splitter với các thông số được chỉ định.

public ResultContainer Process(IPluginOptions options)

Parameters

options IPluginOptions

Một đối tượng tùy chọn chứa hướng dẫn cho Aspose.Pdf.Plugins.Splitter.

Returns

ResultContainer

Một đối tượng ResultContainer chứa kết quả hoạt động.

Exceptions

InvalidOperationException

 Tiếng Việt