# EmbeddedFileCollection Object

> Represents a collection of embedded files. To access the embedded files of a document use DocumentSettings.embeddedFiles.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Object
- **Introduced:** 29.0
- **Path:** DS Server > Reference > JavaScript API > EmbeddedFileCollection Object
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/embeddedfilecollection/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/embeddedfilecollection/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/embeddedfilecollection/llms-full.txt

---

## On This Page

- [Description](https://docs.textcontrol.com/ds-server/reference/javascript/embeddedfilecollection/#description)
- [Syntax](https://docs.textcontrol.com/ds-server/reference/javascript/embeddedfilecollection/#syntax)
- [Examples](https://docs.textcontrol.com/ds-server/reference/javascript/embeddedfilecollection/#examples)
- [Members](https://docs.textcontrol.com/ds-server/reference/javascript/embeddedfilecollection/#members)

---

## In This Section

- [Javascript: EmbeddedFileCollection.addBinaryFile Method](https://docs.textcontrol.com/ds-server/reference/javascript/embeddedfilecollection/addbinaryfile-method/llms.txt): Adds an embedded binary file to the collection.
- [Javascript: EmbeddedFileCollection.addTextFile Method](https://docs.textcontrol.com/ds-server/reference/javascript/embeddedfilecollection/addtextfile-method/llms.txt): Adds an embedded text file to the collection.
- [Javascript: EmbeddedFileCollection.removeElementAt Method](https://docs.textcontrol.com/ds-server/reference/javascript/embeddedfilecollection/removeelementat-method/llms.txt): Removes the embedded file at the given index.

---

## Nearby

- **Previous:** [Javascript: EmbeddedFile.setRelationship Method](https://docs.textcontrol.com/ds-server/reference/javascript/embeddedfile/setrelationship-method/llms.txt)
- **Next:** [Javascript: EmbeddedFileCollection.addBinaryFile Method](https://docs.textcontrol.com/ds-server/reference/javascript/embeddedfilecollection/addbinaryfile-method/llms.txt)
