Search Results for

    Show / Hide Table of Contents

    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

    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
    ☀
    ☾
    Downloads
    • Download with Nuget
    • Start for Free
    In This Article
    Back to top
    Install with Nuget
    Want to deploy IronPDF to a live project for FREE?
    What’s included?
    30 days of fully-functional product
    Test and share in a live environment
    No watermarks in production
    Get your free 30-day Trial Key instantly.
    No credit card or account creation required
    Your Trial License Key has been emailed to you.
    Download IronPDF free to apply
    your Trial Licenses Key
    Install with NuGet View Licenses
    Licenses from $499. Have a question? Get in touch.