PdfVisionMergePdf(String, String) Method |
Merges two PDF files. Merges File1Path and DestFile file into single DestFile.
Namespace: SautinSoft.PdfVisionAssembly: SautinSoft.PdfVision (in SautinSoft.PdfVision.dll) Version: 2024.12.6
Syntaxpublic int MergePdf(
string sourceFile,
string destFile
)
Public Function MergePdf (
sourceFile As String,
destFile As String
) As Integer
Parameters
- sourceFile String
- Path to an existing PDF file
- destFile String
- Path to a second PDF file to merge the first file into
Return Value
Int320 - merged successfully
1 - error, can't merge PDF documents
2 - error, can't create output file, probably it used by another application
3 - merging failed
RemarksIf the second file does not already exist the component just copies the first file to a new name
See Also