Skip to contents

Returns the attachment's declared /Subtype (typically a MIME type such as "application/xml"). Wraps FPDFAttachment_GetSubtype.

Usage

pdf_attachment_mime_type(att)

Arguments

att

A pdfium_attachment handle from pdf_attachments().

Value

Character scalar; empty if no subtype declared.