Skip to main content

Merge-PDFs

Command Description

Merge multiple PDF files into one PDF file

Command Prototype

PDF.PdfMerge(filePaths,savePath)

Parameter Description

ParameterRequiredTypeDefaultDescription
filePathsTruearray['''C:\Users''']You can select multiple PDF files to merge
savePathTruepath'''C:\Users'''Path to save the merged PDF

Demo

/****************************************Merge PDF********** **************************** 
Command prototype:
PDF.PdfMerge(['''C:\Users'''],'''C:\Users''')
Input parameters:
filePaths-- PDF files that need to be merged, you can select multiple
savePath--path where the merged PDF file is saved
Outgoing parameters:
None
********************************************************************************/
Dim filePaths=['''C:\Users\Chance\Desktop\testPDF\Laye Technology RPA Product Introduction.pdf''','''C:\Users\Chance\Desktop\testPDF\Laye Technology Chatbot Products Introduction.pdf''']
Dim savePath='''C:\Users\Chance\Desktop\Summary.pdf'''
PDF.PdfMerge(filePaths,savePath)