> For the complete documentation index, see [llms.txt](https://docs.apryse.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.apryse.com/web/edit-page-content.md).

# Edit page content

- [PDF and Document Editing with the JavaScript PDF Editor Library](https://docs.apryse.com/web/edit-page-content/edit.md): Enhance document editing capabilities with the PDF & document editing JavaScript library. Edit text, images, metadata, bookmarks, and more with ease. Stamp content, add watermarks, and manipulate grap
- [Get and convert PDF coordinates using JavaScript](https://docs.apryse.com/web/edit-page-content/coordinates.md): Learn how to get & convert PDF coordinates using JavaScript. Understand the difference between PDF page coordinates and viewer page coordinates for accurate location handling. The Apryse Web SDK strea
- [Adding a stamp to PDFs using Javascript](https://docs.apryse.com/web/edit-page-content/stamp.md): Learn how to create stamp annotations in PDF documents with our comprehensive guide. Stamp text, images, or other PDF pages easily with Apryse SDK. Stamp content efficiently with Stamper tool. The Apr
- [Add Watermark to PDF using JavaScript](https://docs.apryse.com/web/edit-page-content/watermarks.md): Add a custom watermark to your PDF effortlessly with JavaScript. Learn how to use the setWatermark method of DocumentViewer to overlay text or images on your documents. The Apryse Web SDK streamlines
- [Removing images from PDF page using JavaScript](https://docs.apryse.com/web/edit-page-content/remove.md): Learn how to remove all images from a document page using PDF Editor (Programmatic) with this full code sample. Strip images and change text color to blue! The Apryse Web SDK streamlines secure, serve
- [Reading page content using JavaScript](https://docs.apryse.com/web/edit-page-content/read.md): Learn how to read page content from a PDF document using ElementReader. Traverse page display list, read Elements like paths, text, images, and forms. Understand Form XObjects, Type3 font glyphs, and
- [Write page content to PDF using JavaScript](https://docs.apryse.com/web/edit-page-content/write.md): Learn how to write page content to a new document with PDFNet page writing API. Embed fonts, images, and copy graphical elements between pages. Edit page content programmatically with full control ove
- [Replacing text & images in PDFs using Apryse's Web SDK](https://docs.apryse.com/web/edit-page-content/replace.md): Learn how to replace text or images in a PDF using pdftron.PDF.ContentReplacer. Find code samples for searching and replacing text strings and images in existing PDFs like business cards and templates
- [Graphics state using JavaScript](https://docs.apryse.com/web/edit-page-content/graphics-state.md): Learn how to extract data, do color conversion, and process changes in the graphics state with Apryse SDK. Explore PDF Data Extraction techniques and full code samples. The Apryse Web SDK streamlines
- [Edit text and images in PDFs using the WebViewer JavaScript library](https://docs.apryse.com/web/edit-page-content/text-edit.md): Enhance PDF files with WebViewer's content edit feature. Edit text and images directly on PDFs. Enable this feature in the UI for easy editing. Try it out now! The Apryse Web SDK streamlines secure, s
- [Code samples to edit PDFs using JavaScript](https://docs.apryse.com/web/edit-page-content/samples.md): Learn how to edit, insert images, search & replace text, stamp, extract images, and more with this PDF Editor (Programmatic) sample code. Master PDF manipulation techniques now! The Apryse Web SDK str
- [APIs to edit PDFs using JavaScript](https://docs.apryse.com/web/edit-page-content/apis.md): Discover utility classes for editing PDF documents using Web (Javascript) PDFNet. Explore PDFDoc, ElementBuilder, ElementReader, ElementWriter, and ContentReplacer. Optimize your PDF editing process n


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.apryse.com/web/edit-page-content.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
