Skip to content

Commit 391ba3b

Browse files
authored
docs(pdfviewer): Document Print method (#1324)
1 parent b235e4a commit 391ba3b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

components/pdfviewer/overview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,10 @@ The PdfViewer exposes methods for programmatic operation. To use them, define a
9595

9696
| Method | Description |
9797
| --- | --- |
98+
| `Print` | Prints the loaded PDF document as an alternative to the [built-in Print button in the PDF Viewer toolbar]({%slug pdfviewer-toolbar%}#built-in-tools). |
9899
| `Rebind` | Refreshes the PDF Viewer and ensures it is displaying the latest file `Data`. [`Rebind` is necessary when the Blazor framework cannot re-render components automatically]({%slug common-features-data-binding-overview%}#refresh-data). |
99100

100-
101-
>caption PDF Viewer reference and Rebind method usage
101+
>caption PDF Viewer reference and method usage
102102
103103
````CSHTML
104104
<TelerikPdfViewer @ref="@PdfViewerRef"

components/pdfviewer/toolbar.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ By default, the PDF Viewer displays all its built-in tools in the order below. U
2727
| Search | `PdfViewerToolBarSearchTool` | A search button. It opens an additional search bar that contains a textbox and arrow buttons to navigate the search results. |
2828
| Open | `PdfViewerToolBarOpenTool` | An open button. It fires the [`OnOpen` event]({%slug pdfviewer-events%}#onopen). |
2929
| Download | `PdfViewerToolBarDownloadTool` | A download button. It fires the [`OnDownload` event]({%slug pdfviewer-events%}#ondownload). |
30-
| Print | `PdfViewerToolBarPrintTool` | A print button. |
30+
| Print | `PdfViewerToolBarPrintTool` | A print button. The component also provides a [`Print` method]({%slug pdfviewer-overview%}#pdfviewer-reference-and-methods). Printing uses an additional browser window with only the PDF document inside. This window may require user confirmation or appropriate browser settings to display. |
3131

3232
By default, the toolbar also includes separators (`<PdfViewerToolBarSeparator />`) and spacers (`<PdfViewerToolBarSpacer />`). Separators render as a vertical line. Spacers consume the available empty space and push the rest of the tools next to one another.
3333

0 commit comments

Comments
 (0)