New to Telerik UI for Blazor? Download Free 30-day trial
PDF Viewer - Pinch to Zoom
- EXAMPLE
- VIEW SOURCE
- Change Theme
meridian
- Pinch-to-zoom.razor
- PdfViewerConstants.cs
Description
The Telerik UI for Blazor PDF Viewer provides built-in Pinch to Zoom support that enables intuitive, touch-native document inspection on mobile devices and touchscreen computers. This feature is active by default and requires no additional configuration.
The Pinch to Zoom capability complements the existing toolbar zoom controls, giving users a natural alternative to the step-based zoom buttons. Both mechanisms respect the configured MinZoom and MaxZoom boundaries, so the document can never be scaled beyond the limits defined in the component.
Because the feature is enabled automatically, no markup changes are required to support mobile visitors. Simply load a PDF document using the Data parameter and render the component — touch zoom works immediately in any modern mobile browser that supports the Touch Events API.