如何从桌面应用程序创建pdf文件?

问题描述:

我正在开发这个三合一模板应用程序,它是一个文字处理器,电子表格和绘图应用程序。

用户使用应用程序创建的特定工作空间创建模板文档文档。面临的挑战是:我打算创建同一个应用程序的Web版本,但由于无法在浏览器上为用户提供相应的桌面工作区(或者为用户提供这样的工作空间,这是不可能的),我希望用户能够查看桌面应用程序为其生成的特定文档版本的pdf版本吗?

那么我的桌面应用程序如何从specufic视图文件中创建pdf文件创建?

I am developing this three-in-one template app that is all of a wordprocessor, spreadsheet, and drawing app.
Users create a template document using the available workspace from which the app creates specific documents.The challenge is this:I intend to create a web version of the same app, but since it is not possible to give users the equivalent of the desktop workspace on a browser(or is it pissible to give users such a workspace), I want to make it possible for users to view a pdf version of the specific version of document generated for them by the desktop app?
So how can my desktop app create pdf files from the specufic view documents ut creates?

你有谷歌吗?



查看此链接



我们可以使用mfc应用程序创建pdf文件吗? ? [ ^ ]



从MFC生成PDF页面MDI CView [ ^ ]
Did u google?

Check this link

Can we create pdf file using mfc application?[^]

To generate a PDF page from an MFC MDI CView[^]