开发者

Creating pdf report from a excel document using iTextSharp

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜