Leadtools.Documents Namespace > Document Object : MimeType Property |
get_mimeType();
set_mimeType(value);
Object.defineProperty('mimeType');
Type | Description |
---|---|
string | The MIME type of the document. |
When this document is loaded using LoadFromUri, then the value of MimeType will be parsed by the framework and set automatically. It will be the MIME of the original document file. For example, "application/pdf" for PDF documents, "image/tiff" for TIFF files, etc.
For an example, refer to LoadFromUri.