Adding data to printed documents

I am trying to add data to diagrams being printed using the Foreground Template for the print manager. The template has access to data in each pages PageInfo class. Is there any way I can bind the template objects to any additional data other than that on the standard PageInfo class?

There’s a PageInfo.Diagram property, so you can bind to data through that. But that reference is the same for all pages, of course.

If tried binding to data in my own MyDiagram that inherits Diagram and it doesnt seem to want to show any of the variables I have added.

That ought to work if you defined public properties.