How to create an XPS document in a WCF service to store and return?
问题 I've got a WCF service as middle tier, and on some occasions I need to create a printable document, store it for future reference in the database, and return it to the client. My first choice as file format was XPS, so I'd like to create an XPS document in a WCF service, store it, and return it. Is there an easy way to achieve this, or some other obvious way to solve my problem (storing and returning a printable document in WCF) I've missed? 回答1: Easy? Nothing's easy about XPS. I'm currently