本文介绍了将网页从HTML转换为PDF?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个具有以下结构的网站:
标签容器 - 有4个标签面板
每个标签面板有4个网格视图,以换行符分隔。

I have a website with the following structure: Tab Container - having 4 Tab panels Each tab panels is having 4 gridviews which are separated by line break.

现在,当我在特定的选项卡中时,我想使用'export to pdf'按钮,该按钮应该生成一个在此tabpanel中可见的4个gridview的pdf。

Now when i am in a particular tab, I want to use an 'export to pdf' button , which should generate a pdf having 4 gridviews visible in this tabpanel. Same for all other tabpanels.

我已经搜索了足够多的文章,发现可能会有关于使用itextsharp,wkhtmltopdf,pdf生成器等的文章,但是我似乎无法在任何地方找到完全实现的功能。

I have searched enough, found may articles telling about using itextsharp, wkhtmltopdf, pdf generators etc, however I dont seems to find fully implemented functionality anywhere.

任何人都可以引导/提出任何问题吗?

Can anyone guide/suggest anything ?

推荐答案

我使用了CutePDF的API,他们似乎工作得很好。

I've used CutePDF's API and they seem to work pretty well.

这篇关于将网页从HTML转换为PDF?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-16 11:11