Processing and Manipulating PDF in Java
Benefits
- PDF page manipulation features, such as Merging, Splitting, Rotating, Deleting, Extracting, Optimizing.
- PDF bookmarking features, such as appending and deleting bookmarks from existing PDF.
- Embed elements inside current PDF, such as note, text, hyperlink, file attachment, custom annotation.
- Get PDF information, such as metadata, page size, rotation, count, version.
- Modify PDF security setting, such as getting signature information, checking encryption, changing password.
- Extract text from PDF.
Sample Project File
/*
This program demonstrates easyPDF SDK ability to merge PDF files.
Usage: java TestProcessor [input file 1] [input file 2] [output file]
*/
import com.bcl.easypdf.*;
import com.bcl.easypdf.EasyPDFProcessor.*;
import java.io.File;
public class TestProcessor
{
public static void main(String[] args) throws Exception
{
if (args.length == 3)
{
File inputFile1 = new File(args[0]);
String inputFileName1 = inputFile1.getCanonicalPath();
File inputFile2 = new File(args[1]);
String inputFileName2 = inputFile2.getCanonicalPath();
File outputFile = new File(args[2]);
String outputFileName = outputFile.getCanonicalPath();
EasyPDF.initialize();
IPDFProcessor pcr = new IPDFProcessor();
pcr.Merge(inputFileName1, inputFileName2, outputFileName);
EasyPDF.uninitialize();
}
else
{
System.out.println("Usage: java TestProcessor [input file 1] [input file 2] [output file]");
System.out.println("For example:");
System.out.println("java TestProcessor c:\\input\\f1.pdf c:\\input\\f2.pdf c:\\output\\merge.pdf");
}
}
}
|
Download Free Trial
The Free Trial is a fully functional
software, with 30-day
expiration.
QuickStart Video
Watch a QuickStart Video on how to use easyPDF SDK in Java Environment

- "It took very little amount of coding to integrate easyPDF SDK into our application, and we haven’t had to change BCL code once!" - Shawn Hess, TAXWORKS
PDF Features
Sample Projects and Documentation
|