Customizing zoom options in our UWP PDF viewer
The zoom mode is automatic by default, but this is controllable either via the UI or programmatically.
To fix the zoom mode to Fit to width
, you can write the following code:
await pdfView.Controller.SetZoomModeAsync(ZoomMode.FitToWidth);