Control Reference > VSPrinter Control > VSPrinter Events > BeforeUserZoom Event |
Fired before Zooming in or out in response to a user request.
Private Sub VSPrinter_BeforeUserZoom(NewZoom As Integer)
The page may be zoomed using the built-in navigation bar, mouse, mouse wheel, or keyboard, depending on the setting of the NavBar and Navigation properties.
You may change the value of the NewZoom parameter to zoom to a specific level. If you set NewZoom to the value of the Zoom property, the zooming is canceled.