I'm not sure whether I'm missing something:
- using PrintPreview to create custom content report... using BeginDoc... NewPage when necessary...
- after creating all the content, I need to change first page of the document and add some dynamically created graph
- I use BeginEdit(1)... tried with BeginEdit(0),too.., neither returns true, but they update last page, not first one
- tried looping from 0 to TotalPages (however, TotalPages won't work (=1) during BeginDoc... when EndDoc is executed, it correctly shows TotalPage)
Questions:
Why cannot I draw on first page?
How to draw on first page?! BeginEdit, EndEdit don't work properly, only last page is edited, but I need the first one!
(Of course, when document is single paged, everything looks fine)