ExcelToPdfMergePDFFileToPDFFile Method |
Merges two PDF files. Merges File1Path and DestFile file into single DestFile.
Namespace: SautinSoftAssembly: SautinSoft.ExcelToPdf (in SautinSoft.ExcelToPdf.dll) Version: 5.6.11.14
Syntaxpublic void MergePDFFileToPDFFile(
string File1Path,
string DestFile
)
Public Sub MergePDFFileToPDFFile (
File1Path As String,
DestFile As String
)
Parameters
- File1Path String
- Path to an existing PDF file
- DestFile String
- Path to a second PDF file to merge the first file into
Return Value
0 - merged successfully
1 - error, can't merge PDF documents
2 - error, can't create output file, probably it used by another application
RemarksIf the second file does not already exist the component just copies the first file to a new name
See Also