> 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/salesforce/content-edit.md).

# Content Edit

- [PDF & document editing JavaScript library](https://docs.apryse.com/salesforce/content-edit/edit-page.md): Learn about coordinate systems, stamping content, adding watermarks, removing images, reading and writing page content, replacing text or images, and editing PDF files directly. Get started now! Sales
- [Get & convert PDF coordinates using JavaScript](https://docs.apryse.com/salesforce/content-edit/coordinates.md): Understand the difference between PDF page coordinates and viewer page coordinates in WebViewer. Learn how to get width, height, rotation, and convert between the two coordinate spaces using APIs. Sal
- [Adding a stamp to PDFs using Javascript](https://docs.apryse.com/salesforce/content-edit/stamp.md): Learn how to create stamp annotations in PDF documents with our comprehensive guide. Stamp text, images, and PDF pages easily with Apryse SDK. Stamp your PDF files efficiently with our step-by-step in
- [Add Watermarks to PDFs Using JavaScript](https://docs.apryse.com/salesforce/content-edit/watermarks.md): Learn how to add watermarks to documents easily with DocumentViewer's setWatermark method. Draw text or images on top of your document with just a few lines of code. Perfect for customizing and protec
- [Removing images from PDF page in Salesforce](https://docs.apryse.com/salesforce/content-edit/remove.md): Learn how to remove all images from a document page using a PDF Editor with this full code sample. Strip images and change text color to blue programmatically. Salesforce WebViewer adds accurate, reli
- [Reading page content in Salesforce](https://docs.apryse.com/salesforce/content-edit/read.md): Learn how to read page content from a PDF document using ElementReader. Traverse through graphical elements like paths, text, images, and forms. Start exploring now! Salesforce WebViewer adds accurate
- [Write page content to PDF in Salesforce](https://docs.apryse.com/salesforce/content-edit/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 in Salesforce](https://docs.apryse.com/salesforce/content-edit/replace.md): Learn how to find and replace text or images in a PDF using pdftron.PDF.ContentReplacer. Replace text or images in existing PDF files with this code sample. Salesforce WebViewer adds accurate, reliabl
- [Graphics state in Salesforce](https://docs.apryse.com/salesforce/content-edit/graphics-state.md): Learn how to extract data, perform color conversion, and process changes in the graphics state with Apryse SDK. Explore full code samples for PDF Data Extraction. Salesforce WebViewer adds accurate, r
- [Content edit](https://docs.apryse.com/salesforce/content-edit/text-edit.md): Discover how to edit text and images directly on PDF files with WebViewer 8.3. Learn how to enable and use the content editing feature through the WebViewer UI. Try it out today! Salesforce WebViewer
- [Replace Document Text in Salesforce](https://docs.apryse.com/salesforce/content-edit/replacing-content-salesforce.md): Learn how to use ContentReplacer in WebViewer with this comprehensive guide. Find out how to replace content on a document and initialize PDFNet for redaction. Explore code samples and a live demo for
- [Convert documents in Salesforce](https://docs.apryse.com/salesforce/content-edit/convert-documents-salesforce.md): Learn how to convert documents in Salesforce using WebViewer. Follow step-by-step instructions in config.js for PDF, DOCX, XLSX, PPTX, JPG, PNG, TIFF conversions. Explore a sample project on GitHub fo


---

# 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/salesforce/content-edit.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.
