Skip to content

Clearing a print preview

Ryan L

Asked Feb 14, 2007, 12:19 PM EST2 answers
Share
LinkedInX
I would like to know how can I clear a print preview. say if i create one and then make some changes and sow a print preview again, it shows double what was there and the changes as well. can anyone help me fix that?

2 Answers

Know the answer? Post it. Somebody with the same question will find it here.

  • Mike Gold
    0
    The Print Preview Control works directly off of your PrintDocument's PrintPage event.  If you are seeing double in the print preview control, it probably means you are painting into the PrintPage event handler an extra time
    Best,

    -Mike
    0
  • 0
    ok then my question now would be what can i do to not do that? if i put my print layout in the begin print event handler, it doesnt know about marginbounds or anything like that and the build fails. im not that good at printing yet so i dont know much of anything
    0