datagridview到pdf export [英] datagridview to pdf export

查看:126
本文介绍了datagridview到pdf export的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

datagridview to pdf export



i得到了部分解决方案与itextSharp

问题是页面方向不可用



请帮助

解决方案

如果你想要横向模式,那么在页面设置中设置它

代码看起来像这样

文档doc =新文档(PageSize。


您正在使用iTextSharp.then请尝试下面的属性。



文档是Document的对象。

 document.SetPageSize(iTextSharp.text.PageSize.A4.Rotate()) ; 


访问这里...





HTTP:// WWW。 aspsnippets.com/Articles/Export-GridView-to-PDF-and-send-PDF-File-as-email-attachment-in-ASPNet.aspx [ ^ ] br />








如何将datagridview导出/转换为pdf格式 [ ^ ]







如何导出datagridview vbnet to pdf file [ ^ ]

datagridview to pdf export

i got the partial solution with itextSharp
the problem with that is page orientation landscape not available

please help

解决方案

If u want landscape mode then set it in the page setting
the code looks like this
Document doc = new Document(PageSize.


You are using iTextSharp.then please try below property.

document is the object of Document.

document.SetPageSize(iTextSharp.text.PageSize.A4.Rotate());


visit here...


http://www.aspsnippets.com/Articles/Export-GridView-to-PDF-and-send-PDF-File-as-email-attachment-in-ASPNet.aspx[^]

or


how to export/convert datagridview to pdf format[^]

or

how export datagridview vbnet to pdf file[^]


这篇关于datagridview到pdf export的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆