开发者

how to get a page from a xps file?

I'm writting an application in c# that take a Xps Document and create another xps 开发者_如何学Godocumet that contains only one selected page from the original document, I was searching for an API that work with XPS files but I don't find anyone that do this work.

Please help me.

Thanks


Have you tried looking in System.Windows.Xps.Packaging? That seems to contain everything you'll need to pull apart an XPS document and generate a new one.


You might also try looking into GhostXPS. It isn't an API per se, but you could call the application via System.Process to convert. Documentation is a bit light but you can probably use the help switch (-?) on the application to figure it out. Glancing at that help output, it does seem to support page operations.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜