Method GetEmbeddedFiles
GetEmbeddedFiles(Attachment, CancellationToken)
Returns the files embedded in a PDF's attachment / associated-files tree,
each with its file name, guessed MIME type, and decoded bytes (any
compression is already inflated). This is how a hybrid e-invoice's
structured payload is retrieved: a Factur-X / ZUGFeRD PDF/A-3 carries its
CII XML as an embedded file (commonly named factur-x.xml or
zugferd-invoice.xml). Empty when the PDF carries no attachments.
public static IReadOnlyList<EmbeddedPdfFile> GetEmbeddedFiles(Attachment source, CancellationToken cancellationToken = default)
Parameters
sourceAttachmentThe source PDF attachment.
cancellationTokenCancellationTokenCancels the operation.