Are you a developer looking to add powerful PDF manipulation features to your application? The VeryPDF PDF Split Merge ActiveX DLL is designed to enhance your Windows programs or web applications with efficient PDF splitting, merging, and rotation capabilities. This robust tool provides an easy-to-integrate solution for managing PDF documents with just a few function calls.
https://www.verypdf.com/app/pdf-split-merge/pdf-split-merge-sdk.html
Overview
The PDF Split Merge ActiveX DLL is an essential tool for developers needing to handle PDF file operations. With this DLL, you can split a PDF into multiple files, merge several PDFs into one, and rotate pages to specific angles. It supports splitting files by individual pages or specified ranges, merging multiple PDF files while preserving original links and form fields, and rotating pages by 90°, 180°, or 270°.
Operating independently of Adobe Acrobat or Acrobat Reader, this DLL is a versatile component that seamlessly integrates into a variety of applications without requiring Adobe’s software.
Key Features
- Split PDF Files: Divide a PDF into multiple files based on page ranges. You can create separate files for single pages or group pages as needed.
- Merge PDF Files: Combine multiple PDF files into a single document, with support for merging selected pages from each file.
- Rotate Pages: Rotate PDF pages by 90°, 180°, or 270° to fit your formatting needs.
- Standalone Operation: The DLL operates independently of Adobe Acrobat and Acrobat Reader.
- Wide Language Support: Compatible with numerous development languages, including VB Script, JavaScript, Perl, PHP, Python, ASP, ASP.Net, VB.Net, C#, VB6, Cold Fusion, Delphi, VC++, and Java.
- Custom Demos Available: Additional examples and demos in various languages available upon request.
- Royalty-Free: Use the DLL in your applications without incurring additional royalty fees, regardless of the number of applications or their distribution scale.
- No Application Limits: There are no restrictions on the number of applications in which you can use the DLL.
- Comprehensive OS Support: Compatible with Windows XP through Windows 11 and various Windows Server editions, both 32-bit and 64-bit.
System Requirements
Desktop Compatibility:
- Windows XP (32-bit, 64-bit)
- Windows Vista (32-bit, 64-bit)
- Windows 7 (32-bit, 64-bit)
- Windows 8/8.1 (32-bit, 64-bit)
- Windows 10 (32-bit, 64-bit)
Server Compatibility:
- Windows Server 2003 (32-bit, 64-bit)
- Windows Server 2008 (32-bit, 64-bit)
- Windows Server 2012 (32-bit, 64-bit)
- Windows Server 2016 (32-bit, 64-bit)
ISplitMergeLib Interface Reference
Split
LONG Split(String inputPdf, String Password, String SplitRanges, String outputPdf)
Description: Split a PDF into several files based on page ranges.
Parameters:
inputPdf
: The PDF file to be split.Password
: Password for opening the PDF. Pass an empty string "" if there is no password.SplitRanges
: Ranges defined by page numbers or ranges, separated by commas. For example, "1-2,4,6-8" splits the PDF into separate files containing pages 1-2, 4, and 6-8.outputPdf
: Output file naming pattern. The component replaces "%d" with the number of the output file.
Return Values:
- 0: Split failed.
- 1: Split successful.
- -1: Split ranges error.
- -2: Source PDF file does not exist.
- -3: Destination directory does not exist.
- -4: Source PDF file could not be read or processed.
Merge
LONG Merge(String inputPdfs, String outputPdf)
Description: Merge several PDF files into one.
Parameters:
inputPdfs
: List of PDFs to be merged, separated by "|". Ranges can also be specified (e.g., "1.pdf?1-2|2.pdf?3-4").outputPdf
: The resulting merged PDF file.
Return Values:
- 0: Merge failed.
- 1: Merge successful.
- -1: Source file list is empty.
- -2: Error occurred during merging.
- -3: Destination directory does not exist.
- -4: Source PDF file could not be read or processed.
Rotate
LONG Rotate(String inputPdf, String Password, String rotateRanges, Integer rotateDegrees, String outputPdf)
Description: Rotate PDF pages by specified ranges.
Parameters:
inputPdf
: The PDF file to rotate.Password
: Password for opening the PDF. Pass an empty string "" if there is no password.rotateRanges
: Page ranges to rotate, separated by commas (e.g., "1,3-4,8"). Empty string for all pages.rotateDegrees
: Degrees to rotate (90, 180, 270, or -90 which equals 270).outputPdf
: The resulting PDF file.
Return Values:
- 0: Rotation failed.
- 1: Rotation successful.
- -1: Rotation ranges error.
- -2: Source PDF file does not exist.
- -3: Destination directory does not exist.
- -4: Source PDF file could not be read or processed.
- -5: Invalid rotation degrees.
GetPageCount
LONG GetPageCount(String pdfFile, String password)
Description: Get the page count of a PDF file.
Parameters:
pdfFile
: The PDF file.password
: Password for opening the PDF. Pass an empty string "" if there is no password.
Return Values:
- -1: PDF file does not exist.
- -2: PDF file could not be analyzed.
- >0: Number of pages in the PDF.
SetLicenseKey
VOID SetLicenseKey(String LicenseKey)
Description: Set a valid license key to unlock the ActiveX DLL.
Parameters:
LicenseKey
: The license key for the registered version.
Note: This method must be called before using Split()
and Merge()
.
Conclusion
The VeryPDF PDF Split Merge ActiveX DLL offers a powerful and flexible solution for developers needing to manage PDF files. With its extensive features, broad language support, and royalty-free licensing, this DLL is an ideal choice for integrating advanced PDF manipulation capabilities into your desktop or web-based applications. Start leveraging the VeryPDF PDF Split Merge ActiveX DLL today to enhance your application's PDF management functionality with ease.