Blazor PDF Viewer

The Blazor PDF Viewer component allows users to view PDF files directly in the browser, without relying on third-party browser tools or extensions.

Examples#

Orientation#

Set the Orientation parameter to Orientation.Landscape to change the default orientation from Portrait to Landscape.

Base64String#

PDF Viewer component supports base64 string as a URL.
Example
Url="@string.Format("data:application/pdf;base64,{0}", pdfBase64String)"