New to Telerik Document ProcessingStart a free 30-day trial

EmbeddedFilesCollection

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.

Properties

PropertyDescription
NamesGets a collection containing the names in the collection.
CountGets the number of embedded files in the collection.
ContainsZugferdInvoiceDetermines whether the collection contains a ZUGFeRD invoice name.

Methods

MethodDescription
GetEnumeratorReturns 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.
ClearRemoves 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.
In this article
PropertiesMethods
Not finding the help you need?
Contact Support