PDFViewerDefaultPageSizeSettingsTagHelper
Example
Razor
<default-page-size/>
Attributes
| Attribute | Type | Description |
|---|---|---|
| height | Double | Specifies 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. |
| width | Double | Specifies 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. |