---
title: "Knowledge base of Nutrient Web SDK | Troubleshooting tips for developers"
canonical_url: "https://www.nutrient.io/guides/web/kb/"
md_url: "https://www.nutrient.io/guides/web/kb.md"
last_updated: "2026-05-18T13:37:23.538Z"
description: "Explore FAQs and troubleshooting tips for Nutrient Web SDK. Find code samples for annotations, signatures, document handling, and more. Learn how to integrate Nutrient Web SDK effectively."
---

# Knowledge base

Explore our [Awesome Nutrient GitHub repository](https://github.com/PSPDFKit/awesome-nutrient) for a wide variety of sample projects, code snippets, and videos.

While our knowledge base provides quick solutions to common customization questions, the [GitHub repository](https://github.com/PSPDFKit/awesome-nutrient) offers even more examples, with new content continuously being added.

## Annotations

- [Add comment annotations programmatically](https://www.nutrient.io/guides/web/knowledge-base/programmatic-comment-annotations.md)

- [Change the default line width for ink annotations](https://www.nutrient.io/guides/web/knowledge-base/change-default-line-width-ink-annotations.md)

- [Create text highlight annotations from text extraction](https://www.nutrient.io/guides/web/knowledge-base/create-highlight-annotations-from-text-extraction-technology.md)

- [Creating link annotations with text](https://www.nutrient.io/guides/web/knowledge-base/link-text.md)

- [Delete all annotations](https://www.nutrient.io/guides/web/knowledge-base/delete-all-annotations.md)

- [Disable resizing of annotations](https://www.nutrient.io/guides/web/knowledge-base/disable-resize-of-annotations.md)

- [Disable the movement of text annotations but allow editing the text](https://www.nutrient.io/guides/web/knowledge-base/disable-text-annotation-movement.md)

- [Export an ink annotation as an image](https://www.nutrient.io/guides/web/knowledge-base/export-ink-annotation-image.md)

- [Get the visible annotations on the current page](https://www.nutrient.io/guides/web/knowledge-base/get-visible-annotations.md)

- [Implement an automatic annotation and field tab ordering](https://www.nutrient.io/guides/web/knowledge-base/automatic-annotation-field-tab-ordering.md)

- [Persist the currently edited note annotation text](https://www.nutrient.io/guides/web/knowledge-base/persist-currently-edited-note-test.md)

- [Place annotations at the visible center of the viewport](https://www.nutrient.io/guides/web/knowledge-base/place-annotation-at-visible-center.md)

- [Prevent editing the content of a text annotation](https://www.nutrient.io/guides/web/knowledge-base/prevent-editing-content-text-annotation.md)

- [Render an annotation’s properties as a tooltip](https://www.nutrient.io/guides/web/knowledge-base/show-annotations-properties-as-tooltip.md)

- [Rotate an ink annotation](https://www.nutrient.io/guides/web/knowledge-base/rotate-ink-annotation.md)

- [Showing the focus ring around read-only annotations](https://www.nutrient.io/guides/web/knowledge-base/show-focus-ring-read-only.md)

- [Zoom to a specific annotation when a PDF loads](https://www.nutrient.io/guides/web/knowledge-base/zoom-to-specific-annotation.md)

## Document handling

- [Check if a document contains annotations](https://www.nutrient.io/guides/web/knowledge-base/check-document-contains-annotations.md)

- [Check if a document is password protected](https://www.nutrient.io/guides/web/knowledge-base/check-password-protected-files.md)

- [Download an exported document](https://www.nutrient.io/guides/web/knowledge-base/download-exported-document.md)

- [Get the entered document password](https://www.nutrient.io/guides/web/knowledge-base/get-entered-document-password.md)

- [How do I limit the number of annotations in a PDF?](https://www.nutrient.io/guides/web/knowledge-base/how-do-i-limit-the-number-of-annotations.md)

- [How to load multiple files in a single viewer instance](https://www.nutrient.io/guides/web/knowledge-base/loading-multiple-files.md)

- [Load a PDF as an array buffer](https://www.nutrient.io/guides/web/knowledge-base/load-pdf-as-arraybuffer.md)

- [Load a PDF from a stream](https://www.nutrient.io/guides/web/knowledge-base/load-pdf-from-stream.md)

- [Load a minimal PDF stub from a string](https://www.nutrient.io/guides/web/knowledge-base/load-pdf-stub-from-string.md)

- [Manual Instant sync](https://www.nutrient.io/guides/web/knowledge-base/manual-instant-sync.md)

- [Process the currently rendered pages](https://www.nutrient.io/guides/web/knowledge-base/process-currently-rendered-pages.md)

- [Render a document at full height](https://www.nutrient.io/guides/web/knowledge-base/render-document-full-height.md)

- [Render a document in night mode](https://www.nutrient.io/guides/web/knowledge-base/render-night-mode.md)

- [Render a page in black and white](https://www.nutrient.io/guides/web/knowledge-base/render-page-black-white.md)

- [Render a page to an image without annotations](https://www.nutrient.io/guides/web/knowledge-base/render-page-without-annotations.md)

- [Render the visible area of the current page](https://www.nutrient.io/guides/web/knowledge-base/render-visible-area-in-current-page.md)

- [Restore the last seen page when reopening a document](https://www.nutrient.io/guides/web/knowledge-base/restore-last-seen-page.md)

- [Save a modified PDF to Document Engine](https://www.nutrient.io/guides/web/knowledge-base/save-modified-pdf-to-document-engine.md)

## Events and listeners

- [Add a listener to a default toolbar item](https://www.nutrient.io/guides/web/knowledge-base/add-listener-toolbar-item.md)

- [Add a listener while editing a text or note annotation](https://www.nutrient.io/guides/web/knowledge-base/add-listener-text-note-annotation.md)

- [Detecting when the Nutrient UI has loaded in the Web SDK](https://www.nutrient.io/guides/web/knowledge-base/detect-pspdfkit-ui-loaded.md)

- [Handling clicks on custom overlays](https://www.nutrient.io/guides/web/knowledge-base/handling-clicks-on-custom-overlays.md)

- [Listen to an annotation’s hover event](https://www.nutrient.io/guides/web/knowledge-base/annotations-hover-event.md)

- [Observe Document Editor visibility](https://www.nutrient.io/guides/web/knowledge-base/observe-document-editor-visibility.md)

## Forms

- [Handle unsupported form field actions](https://www.nutrient.io/guides/web/knowledge-base/handle-unsupported-form-field-actions.md)

- [Highlight required form fields](https://www.nutrient.io/guides/web/knowledge-base/highlight-required-fields.md)

- [Iterate over all form fields and widgets in a document](https://www.nutrient.io/guides/web/knowledge-base/iterate-over-form-fields.md)

- [Read-only forms](https://www.nutrient.io/guides/web/knowledge-base/read-only-forms.md)

## Navigation and display

- [Customize the page indicator](https://www.nutrient.io/guides/web/knowledge-base/customize-page-indicator.md)

- [Determine the current layout mode](https://www.nutrient.io/guides/web/knowledge-base/determine-current-layout-mode.md)

- [Deselect the current text selection](https://www.nutrient.io/guides/web/knowledge-base/deselect-text.md)

- [Focus on a widget annotation](https://www.nutrient.io/guides/web/knowledge-base/focus-widget-annotation.md)

- [Focus on the PDF viewer when it loads](https://www.nutrient.io/guides/web/knowledge-base/focus-viewer-after-loading.md)

- [How can I create a bookmark from an outline element?](https://www.nutrient.io/guides/web/knowledge-base/how-to-create-bookmarks-from-outline-elements.md)

- [How do I disable changing the page when tapping the page edges? ](https://www.nutrient.io/guides/web/knowledge-base/how-do-i-disable-scrolling-on-page-edges.md)

- [How do I rotate a page?](https://www.nutrient.io/guides/web/knowledge-base/how-do-i-rotate-a-page.md)

- [How do I zoom to a specific value?](https://www.nutrient.io/guides/web/knowledge-base/how-do-i-zoom-to-a-specific-value.md)

- [How to add a custom toolbar item to display current zoom percentage](https://www.nutrient.io/guides/web/knowledge-base/add-custom-zoom-perentage.md)

- [Programmatically navigate to a page](https://www.nutrient.io/guides/web/knowledge-base/programmatically-navigate-to-page.md)

## Printing and exporting

- [Add a watermark only when printing](https://www.nutrient.io/guides/web/knowledge-base/render-watermark-when-printing.md)

- [How do I prevent printing annotations?](https://www.nutrient.io/guides/web/knowledge-base/how-do-i-prevent-printing-annotations.md)

- [Prevent printing with Control-P](https://www.nutrient.io/guides/web/knowledge-base/prevent-shortcut-printing.md)

- [Print output appears blurry compared to exported version](https://www.nutrient.io/guides/web/knowledge-base/blurry-print-resolution.md)

## Search and text extraction

- [Extract text from annotations and retrieve the current cursor position in the text](https://www.nutrient.io/guides/web/knowledge-base/extract-annotation-text-and-retrieve-cursor-position.md)

- [Highlight custom search results](https://www.nutrient.io/guides/web/features/customized-search.md)

- [How do I highlight text without an annotation?](https://www.nutrient.io/guides/web/knowledge-base/create-highlight-annotations-from-text-extraction-technology.md)

## Signatures

- [Add signature initials](https://www.nutrient.io/guides/web/knowledge-base/add-signature-initials.md)

- [Find an ink annotation for a signature form field](https://www.nutrient.io/guides/web/knowledge-base/find-ink-annotation-for-signature-form-field.md)

- [Persist ink signatures across instances](https://www.nutrient.io/guides/web/knowledge-base/persist-ink-signatures-across-instances.md)

- [Submit ink signatures with a form](https://www.nutrient.io/guides/web/knowledge-base/submit-ink-signatures-with-form.md)

## Styling and customization

- [Control the appearance of the delete button with CSS](https://www.nutrient.io/guides/web/knowledge-base/control-appearance-of-delete-button-on-ink-annotations.md)

- [Focus the delete button in a confirm dialog](https://www.nutrient.io/guides/web/knowledge-base/focus-delete-button-in-confirm-modal-component.md)

- [How do I resize a multiline text form field in height when it’s overflown?](https://www.nutrient.io/guides/web/knowledge-base/how-do-i-resize-form-fields.md)

- [How do I toggle between themes?](https://www.nutrient.io/guides/web/knowledge-base/how-do-i-toggle-the-theme.md)

- [How to default to using a cloudy border](https://www.nutrient.io/guides/web/knowledge-base/default-to-cloudy-border.md)

- [Keep widget annotation dimensions consistent across devices](https://www.nutrient.io/guides/web/knowledge-base/consistent-widget-annotation-dimensions.md)

- [Optimize Nutrient size for web applications](https://www.nutrient.io/guides/web/knowledge-base/nutrient-size-optimization.md)

- [Override the ink signature dialog](https://www.nutrient.io/guides/web/knowledge-base/override-ink-signature-dialog.md)

- [Override the user agent](https://www.nutrient.io/guides/web/knowledge-base/override-user-agent.md)

## User interaction

- [Add custom keyboard shortcuts](https://www.nutrient.io/guides/web/knowledge-base/add-custom-keyboard-shortcuts.md)

- [Disable the context menu in Nutrient](https://www.nutrient.io/guides/web/knowledge-base/disable-context-menu.md)

- [Wait for a specific element to appear](https://www.nutrient.io/guides/web/knowledge-base/wait-for-element-appear.md)

## Troubleshooting

- [Web SDK vs. DWS Viewer: Which key do I use?][85]

## Licensing

- [License registered for a different bundle identifier](https://www.nutrient.io/guides/web/knowledge-base/license-registered-different-bundle-id.md)
---

## Related pages

- [Appian PDF viewer](/guides/web/appian.md)
- [JavaScript barcode library: Scan, read, and generate barcodes](/guides/web/barcodes.md)
- [Best practices](/guides/web/best-practice.md)
- [Contributing to Nutrient projects](/guides/web/miscellaneous/contributing.md)
- [Samples](/guides/web/samples.md)
- [Changelog for Web](/guides/web/changelog.md)
- [Explore interactive JavaScript PDF demos](/guides/web/demo.md)
- [Download our JavaScript library](/guides/web/downloads.md)
- [JavaScript PDF library](/guides/web.md)
- [Developer guides for JavaScript PDF library](/guides/web/intro.md)
- [Mendix PDF viewer](/guides/web/mendix.md)
- [Perform OCR on PDF documents](/guides/web/ocr.md)
- [OutSystems PDF viewer](/guides/web/outsystems.md)
- [Self-host assets in Web SDK](/guides/web/self-host-assets.md)
- [Troubleshooting](/guides/web/troubleshoot.md)

