# Javascript: ImageCollection.addAnchoredAtLocation Method

> Inserts a new image which is anchored to the specified text position. It has the specified location relative to the paragraph it is anchored to and a textflow which is given through the insertionMode parameter. Anchored images are moved with the text.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Method
- **Introduced:** 28.0
- **Path:** DS Server > Reference > JavaScript API > Javascript: ImageCollection.addAnchoredAtLocation Method
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/imagecollection/addanchoredatlocation-method/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/imagecollection/addanchoredatlocation-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/imagecollection/addanchoredatlocation-method/llms-full.txt

---

## On This Page

- [Description](https://docs.textcontrol.com/ds-server/reference/javascript/imagecollection/addanchoredatlocation-method/#description)
- [Syntax](https://docs.textcontrol.com/ds-server/reference/javascript/imagecollection/addanchoredatlocation-method/#syntax)
- [Parameters](https://docs.textcontrol.com/ds-server/reference/javascript/imagecollection/addanchoredatlocation-method/#parameters)
- [Examples](https://docs.textcontrol.com/ds-server/reference/javascript/imagecollection/addanchoredatlocation-method/#examples)

---

## Nearby

- **Previous:** [Javascript: ImageCollection.addAnchored Method](https://docs.textcontrol.com/ds-server/reference/javascript/imagecollection/addanchored-method/llms.txt)
- **Next:** [Javascript: ImageCollection.addAtFixedPosition Method](https://docs.textcontrol.com/ds-server/reference/javascript/imagecollection/addatfixedposition-method/llms.txt)
