Hi,
I'd like to get the MIME type of an Attachment, so I can check it's what I can deal with before I bother to call FPDFAttachment_GetFile.
I can't see a way of doing it, either pointers, or suggestions of where to add it would be great.
I initially thought that FPDFAttachment_GetStringValue might do the trick, but it looks in the '*params* dictionary' where as I understand it, the MIME type is the 'Subtype' key of the 'embedded file stream dictionary'.
Any ideas welcome,
Dave