Skip to content

Commit 7693b2c

Browse files
docs(PdfViewer): Add RenderScale parameter (#3149)
Co-authored-by: Dimo Dimov <[email protected]>
1 parent 121995d commit 7693b2c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/pdfviewer/overview.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ The table below lists the PDF Viewer parameters. Also check the [PDF Viewer API
8787
| `Height` | `string` | The PdfViewer height as a [CSS length value](slug:common-features/dimensions). If not set, the component will expand vertically, based on the loaded file. `Height` is required for the component paging and scrolling to work. |
8888
| `MaxZoom` | `decimal` <br /> (`4m`) | The largest possible zoom level. The default value allows zooming in 4 times (400%). |
8989
| `MinZoom` | `decimal` <br /> (`0.5m`) | The smallest possible zoom level. The default value allows zooming out to 50%. |
90+
| `RenderScale` | `double` <br /> (`3.0`) | The resolution of the rendered PDF document. A higher value increases the quality, but also increases the memory consumption. Use a smaller value for large documents or less powerful user devices like mobile phones. |
9091
| `Width` | `string` | The PdfViewer width as a [CSS length value](slug:common-features/dimensions). If not set, the component will expand horizontally to fill its parent. |
9192
| `Zoom` | `decimal` <br /> (`1.25m`) | The current zoom level. Use the parameter with two-way binding or with a [`ZoomChanged` event handler](slug:pdfviewer-events#zoomchanged). |
9293
| `ZoomRate` | `decimal` <br /> (`0.25m`) | The zoom level change that is used by the zoom in and zoom out buttons. |

0 commit comments

Comments
 (0)