用于文档屏幕截图的.NET api?
我想找到或构建一个库/dll 来生成 Office 和其他文档的图像/屏幕截图在后台(即无需显式启动应用程序)。
正如本文所述,OLE api 允许创建引用外部文件的容器,然后提取引用文件的图像:
.NET 中有等效的 api 吗?
I'd like to find or build a library/dll to generate images/screenshots of Office and other documents in the background (i.e. without explicitly launching the app).
As this post describes, the OLE api allowed creating a container which references an external file, and then extracting an image of the referenced file:
How to extract metafile from TOleContainer?
Is there an equivalent api in .NET?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不是 api,而是一个组件。您可以使用此工具将文档创建为图像。它适用于 C# 和 VB.NET
http:// /miracle00.weebly.com/4/post/2012/4/convert-word-document-to-image-with-c-vbnet.html
对于后台工作,您可以搜索“threads”在google和SO中,你会发现很多例子。
Not an api but here is a component. You can create documents to images with this one. It works with both C# and VB.NET
http://miracle00.weebly.com/4/post/2012/4/convert-word-document-to-image-with-c-vbnet.html
For the background working, you can search for "threads" in google and SO, you will find many examples.