问题
I'm having a problem trying to print from Silverlight. The issue is that I'm printing out several pages of images but the source I have to pull them back from is not incredibly fast and it sometimes takes longer to create the page than the 8 tries that PrintPage makes before failing.
Is there a way to make it try more than 8 times extend the amount of time between tries?
回答1:
No. You can prepare all the necessary data and caching them on the client side before printing.
Also, you can block the thread in the PrintPage event while you wait for the next image to prepare (Not a good idea ...).
来源:https://stackoverflow.com/questions/14902057/silverlight-printdocument-timeout-issues