Skip to content

docs(PdfViewer): add form filling docs #3098

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 17, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions components/pdfviewer/form-filling.md

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions components/pdfviewer/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ The table below lists the PDF Viewer parameters. Also check the [PDF Viewer API

| Parameter | Type and Default Value | Description |
| --- | --- | --- |
| `AnnotationMode` | `PdfViewerAnnotationMode` <br /> (`Disable`) | Specifies how the PDFViewer handles [form fields](slug:pdfviewer-form-filling) in the loaded document. |
| `Class` | `string` | An additional CSS class for the `<div class="k-pdf-viewer">` element. Use it to [customize the component styles and override the theme](slug:themes-override). |
| `Data` | `byte[]` | The source of the currently displayed PDF file. |
| `EnableLoaderContainer` | `bool` <br /> (`true`) | Determines if the PDF Viewer will show a loading animation during opening, downloading or zooming a PDF file. |
Expand All @@ -100,6 +101,7 @@ The PdfViewer exposes methods for programmatic operation. To use them, define a
| --- | --- |
| `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). |
| `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). |
| `GetFileAsync` | Asynchronously retrieves the current PDF file data as a byte array, including any annotations or form filling changes. Returns a `Task<byte[]>`. Returns `null` if no document is loaded. |

>caption PDF Viewer reference and method usage

Expand Down