Hi,
Im converting the RTF files into PDF format. When adding the HTML Headers & Footers, the margins are not set properly for the Header and Footer.
Below are the process followed in this conversion
- Convert the Stream into RTF files
- Merge the RTF files into One
- Convert the One RTF into PDF
- Add the HTML Fragment Header and Footer into PDF
- Save the PDF
Please find the attached RTFfolder.zip
File Details Follows
Source code - SourceCode.cs
Input Files - “RTF1.rtf , RTF2.rtf , HTML1.html, HTML2.html , Header.html, Footer.html”
Result Files - “\Output” + “final_output_Sample.pdf”
Issues to be Resolved
- Header Margins are not setting properly
- Footer Margins are not setting Properly
- When Inserting a HTML “builder.InsertHtml”, the html added before to the existing text, But this HTML to be added in the Last.
Please help me to fix the above said issues.
Thanks
Rajendran
RTFFolder.zip (353.7 KB)