Winnovative Software Solutions HTML to PDF Converter


 HTML to PDF Converter for .NET - Free Converter Application - PDF Creator
 PDF Merge/Split - PDF Security - RTF to PDF Converter - Excel Library - Charts

 
Skip Navigation Links
Home
ProductsExpand Products
Online DemoExpand Online Demo
Download
Buy NowExpand Buy Now
SupportExpand Support
ContactExpand Contact
 
In the code samples below you can see how the merge library is used to combine PDF documents, images, texts and HTML into a single PDF document.

C# Code Sample - PDF Merge

1:           PdfDocumentOptions pdfDocumentOptions = new PdfDocumentOptions();
2:  
3:           pdfDocumentOptions.PdfCompressionLevel = PDFCompressionLevel.Normal;
4:           pdfDocumentOptions.PdfPageSize =  PdfPageSize.A4;
5:           pdfDocumentOptions.PdfPageOrientation = PDFPageOrientation.Portrait;
6:  
7:           PDFMerge pdfMerge = new PDFMerge(pdfDocumentOptions);
8:  
9:           pdfMerge.AppendPDFFile(pdfFilePath);
10:          pdfMerge.AppendImageFile(imageFilePath);
11:          pdfMerge.AppendTextFile(textFilePath);
12:          pdfMerge.AppendEmptyPage();
13:          
14:  
15:          pdfMerge.SaveMergedPDFToFile(outFile);

HTML to PDF Converter