Has there been a feature enhancement based on PDF Split-Merge COM/SDK product? I want to use it in C# to merge multiple PDF/A-1 files into a single, PDF/A-1 file.
https://www.verypdf.com/app/pdf-split-merge/pdf-split-merge-sdk.html
What I need to merge is a bunch of PDF/X-3 files, into a resulting PDF compliant with PDF/X-3.
I think I've looked everywhere. If you know the answer would you plz advise?
Thanks
Customer
---------------------------------------
Thanks for your message, you may download the trial version of PDF Split-Merge COM/SDK from this web page,
https://www.verypdf.com/app/pdf-split-merge/try-and-buy.html#buy-sdk
https://www.verypdf.com/pdfpg/pdfsplitmergesdk.zip
after you download it, please run "install.vbs" with administrator privilege to register VeryPDFSplitMergeCOM.exe into your system first, you can also run following command line in a CMD window which own the administrator privilege,
VeryPDFSplitMergeCOM.exe /regserver
after you register VeryPDFSplitMergeCOM.exe into your system, you can use following C# code to merge more of your PDF files into one PDF file,
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Runtime.InteropServices;
using System.IO;
using VeryPDFSplitMergeCOM;
namespace CSharp_WindowsFormsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
string appPath = Path.GetDirectoryName(Application.ExecutablePath);
System.Type VeryPDFSplitMergeCOMType =
System.Type.GetTypeFromProgID
("VeryPDFSplitMergeCOM.com");
VeryPDFSplitMergeCOM.com VeryPDFSplitMergeCOM =
(VeryPDFSplitMergeCOM.com)System.Activator.CreateInstance
(VeryPDFSplitMergeCOMType);
VeryPDFSplitMergeCOM.com_PDF_SetCode
("XXXXXXXXXXXXXXXXXXXXXXXXXXX");
string szPDFFile = appPath + "\\_out1.pdf";
System.IO.File.Copy(appPath + "\\testcmd.pdf", szPDFFile, true);
int nRet = 0;
nRet = VeryPDFSplitMergeCOM.com_VeryAppendPDF
(szPDFFile, appPath + "\\testcmd.pdf");
nRet = VeryPDFSplitMergeCOM.com_VeryAppendPDF
(szPDFFile, appPath + "\\testcmd.pdf");
nRet = VeryPDFSplitMergeCOM.com_VeryAppendPDF
(szPDFFile, appPath + "\\testcmd.pdf");
nRet = VeryPDFSplitMergeCOM.com_VeryAppendPDF
(szPDFFile, appPath + "\\testcmd.pdf");
int nPageCount =
VeryPDFSplitMergeCOM.com_VeryGetPDFFilePageCount(szPDFFile);
MessageBox.Show(szPDFFile + " is contain " + nPageCount.ToString() + " pages.");
}
}
}
You can call com_VeryAppendPDF() method more times to append more PDF files into one PDF file.
If you encounter any problem with this product, please feel free to let us know, we are glad to assist you asap.
VeryPDF