PDFViewerDefaultPageSizeSettingsTagHelper

Example

Razor
<default-page-size/>

Attributes

AttributeTypeDescription
heightDoubleSpecifies the default height in pixels for PDF pages when no document is loaded. The page will be automatically scaled to fit the viewer's dimensions while maintaining aspect ratio.
widthDoubleSpecifies the default width in pixels for PDF pages when no document is loaded. The page will be automatically scaled to fit the viewer's dimensions while maintaining aspect ratio.
In this article
ExampleAttributes
Not finding the help you need?
Contact Support