Class Merger
Class Merger
Nom dels espais: Aspose.Pdf.Plugins Assemblea: Aspose.PDF.dll (25.4.0)
Representa el plugin Aspose.Pdf.Plugins.Merger.
public sealed class Merger : IPlugin
Inheritance
Implements
Membres heretats
object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Examples
L’exemple demostra com combinar dos documents PDF.
// create Merger
var merger = new Merger();
// create MergeOptions object to set instructions
var opt = new MergeOptions();
// add input file paths
opt.AddInput(new FileDataSource(inputPath1));
opt.AddInput(new FileDataSource(inputPath2));
// set output file path
opt.AddOutput(new FileDataSource(outputPath));
// perform the process
merger.Process(opt);
Constructors
Merger()
public Merger()
Methods
Process(Opcions IPlugin)
Comença el tractament Aspose.Pdf.Plugins.Merger amb els paràmetres especificats.
public ResultContainer Process(IPluginOptions options)
Parameters
options
IPluginOptions
Un objecte d’opcions que conté instruccions per a l’Aspose.Pdf.Plugins.Merger.
Returns
Un objecte ResultContainer que conté el resultat de l’operaci.