Creating Xps documents programatically

Creating Xps documents programatically

am 16.11.2007 18:32:45 von Kazi

I've written code to create an Xps document with several pages. I can fill
the content of each page by using the XmlWriter property of
IXpsFixedPageWriter and calling WriteStartElement,
WriterAttributeString,WriteEndElement etc. Is there a better way to do
this? I mean is there a series of classes already build that represent all
or some of the elements you'd want to put on a page? Similar to how the
System.Web.UI.WebControls namespace has a bunch of classes that represent
html elements...