If you want to write your own code, you can use BCL’s PDF Library. BCL’s PDF Library simplifies writing PDF Apps by abstracting the complexity of PDF creation into just three lines of code, in the language of your choice.
Printer oPrinter = new Printer();
1: Create easy PDF printer instance.
2: Get the PrintJob object.
3: Pass the input file and the output file.
Boost your development process and raise the performance of your applications simultaneously with easy PDF Library SDK. Download the free trial now!