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);