locked
Flow Documents and Xaml RRS feed

  • Question

  • I have a custom xaml file saved as such.

     

    <Custom header>

    ...

    </Custom header>

    <FlowDocument>

    ...

    </FlowDocument>

     

    Right now, I read the whole thing into a string, proccess the header, then resave the Xaml file as a temporary file with only the flow document tag, so that I can print an XPS document using specifications from the header. But my question is can I create a flow document without having to resave the xaml file? So if I could create a flow document from only text, I would be able to create the XPS document. I would think that this would speed things up, since at around 9000 pages,  my current approach is quite slow.

     

    Thanks,

    D Hanson

    Monday, June 25, 2007 9:46 PM