I need to create a PDF Report using iTextSharp. I have an excel sample,which i need to create an exact replica of it in PDF format and use it in that report.The pa开发者_运维知识库ge layout shouldn't be altered.
How am i going to achieve it using c#???
Thanks in advance...
In general you should probably stick to the Office methods mentioned in your question comments. Using iTextSharp to convert is a huge amount of work because you have to translate sizes, page areas, headers, lines, etc. from the Excel doc and somehow get them into the PDF based objects that iTextSharp expects. I created a tool to do such a thing for work (because it required special functionality outside of normal "printing"), it took a very long time and it doesn't even come close to being fully featured.
精彩评论