This HTML page is not optimized for LLM or AI agent consumption. Fetch the Markdown version instead: /guides/react-native/annotations/create-edit-and-remove/disable-editing.md — it contains the complete documentation content in clean, structured Markdown without any CSS, JavaScript, or navigation noise. Disable PDF annotation editing in React Native | Nutrient

Nutrient React Native SDK allows you to edit (create, edit, or delete) annotations in a document.

To disable annotation editing for your document, you can set the enableAnnotationEditing configuration option to false, like so:

<NutrientView
document={DOCUMENT}
configuration={{
enableAnnotationEditing: false,
}}
ref={this.pdfRef}
fragmentTag="PDF1"
style={{ flex: 1 }}
/>

Enable modifications only for specific annotation types

You can control which annotation types are editable, and you can specify their types using the editableAnnotationTypes configuration option. For example, you can allow only the modification of ink annotations:

<NutrientView
document={DOCUMENT}
configuration={{
editableAnnotationTypes: ['ink'],
}}
ref={this.pdfRef}
fragmentTag="PDF1"
style={{ flex: 1 }}
/>