New to Telerik Document Processing? Start a free 30-day trial
Updated on Apr 27, 2026
This class holds a collection of EmbeddedFile instances, assigned to the EmbeddedFiles property of the document. The collection exposes useful properties and methods allowing you to access, add or remove the embedded file streams in a document.
| Property | Description |
|---|
| Names | Gets a collection containing the names in the collection. |
| Count | Gets the number of embedded files in the collection. |
| ContainsZugferdInvoice | Determines whether the collection contains a ZUGFeRD invoice name. |
| Method | Description |
|---|
| GetEnumerator | Returns an enumerator that iterates through the collection. |
| Remove(string name) | Removes the embedded file with the specified name from the collection. |
| Rename(string oldName, string newName) | Rename an embedded file in the collection. |
| Add(string name, byte[] data) | Adds a named embedded file with the specified name and value to the collection and returns it. |
| ContainsName(string name) | Determines whether the collection contains the specified name. |
| Clear | Removes all embedded files from the collection. |
| AddZugferdInvoice(byte[] data) | Adds an embedded ZUGFeRD compliant file to the collection and returns it. The Conformance level is set to Basic. Only a single XML invoice attachment is allowed in ZUGFeRD. |
| RemoveZugferdInvoice() | Removes the embedded ZUGFeRD file with the specified name from the collection. |