Class EmbedFileType
Supported file types for embedding in PDF/A-3 compliant documents. Essential for creating invoice PDFs with structured data attachments.
// Embed invoice XML (ZUGFeRD/Factur-X):
var xmlConfig = new EmbedFileConfiguration(EmbedFileType.xml) {
EmbedFileName = "invoice_2024.xml"
};
var embedPath = new EmbedFilePath("invoice.xml", xmlConfig);
// Attach source PDF:
var pdfConfig = new EmbedFileConfiguration(EmbedFileType.pdf);
// Include logo image:
var pngConfig = new EmbedFileConfiguration(EmbedFileType.png);XML for structured invoice data (ZUGFeRD/Factur-X)
Only PDF/A-3 and PDF/A-4F support embedded files
See: https://ironpdf.com/how-to/pdfa/
Inheritance
System.Object
EmbedFileType
Namespace: IronPdf
Assembly: IronPdf.dll
Syntax
public sealed class EmbedFileType : Enum
Fields
PDF file attachment. For including source documents, terms, or related PDFs.
var config = new EmbedFileConfiguration(EmbedFileType.pdf) {
AFDesc = "Original invoice"
};
Declaration
public const EmbedFileType pdf
Field Value
| Type | Description |
|---|---|
| EmbedFileType |
png
PNG image file. For logos, signatures, or visual elements.
var config = new EmbedFileConfiguration(EmbedFileType.png) {
EmbedFileName = "company_logo.png"
};
Declaration
public const EmbedFileType png
Field Value
| Type | Description |
|---|---|
| EmbedFileType |
value__
Declaration
public int value__
Field Value
| Type | Description |
|---|---|
| System.Int32 |
xml
XML file for structured invoice data (ZUGFeRD/Factur-X). Machine-readable invoice information for automated processing.
var config = new EmbedFileConfiguration(EmbedFileType.xml) {
ConformanceLevel = ConformanceLevel.EN16931
};
Declaration
public const EmbedFileType xml
Field Value
| Type | Description |
|---|---|
| EmbedFileType |