Implementing Print Preview without background browser screen #4883
Replies: 3 comments 3 replies
-
So, you don't want to show the browser at all, or do you want to make the browser not visible during the duration or the print preview? If the browser is on a separate form, you can control the visibility of that form. For example, in VB:
|
Beta Was this translation helpful? Give feedback.
-
Hi @chacham2 , Thank for your reply. My application has pdf viewing capability. So, pdf is already viewed to user. I have added Print and Print Preview feature in File menu. Now when user clicks on Print Preview, I want to directly show the user the print preview, without the original browser window. My application is in C#. Please suggest how to do it. Thank you! |
Beta Was this translation helpful? Give feedback.
-
There's no built in functionality for this. The browser might not like being hidden when trying to show print preview. There's no callback to notify when the print dialog has closed. |
Beta Was this translation helpful? Give feedback.
-
Hello Team,
I am planning to use CefSharp in one of my projects for print preview functionality. I have an existing custom document viewer, and I would like to hide the browser window, displaying only the print preview screen directly.
Could you please guide me on how to achieve this?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions