开发者

'Screenshot' of documents

I am looking for ways to convert the first page of a docx (and later excel and powerpoint) document to an image. I would rather not manually parse the document's entire xml since that seems like a lot of work ;)

So I guess I'm just trying to collect some resources on how to best tackle this.

T开发者_JAVA百科hanks!


Rendering is the most difficult task :-)

I would go something like this:

DOCX -> PDF (via Aspose.Words) -> Render via Aspose.Pdf.Kit

Not a perfect solutions (in terms of "looks like printed from Word"), but the most suitable I can think of.

In addition, you could use some Microsoft Office interop, which would require Office to be installed.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜