mimeType Property

Summary

Gets the MIME type of the document.

Syntax
TypeScript
JavaScript
Object.defineProperty(LEADDocument.prototype, 'mimeType', 
   get: function(), 
   set: function(value) 
) 
mimeType: string; 

Property Value

The MIME type of the document.

Remarks

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.

Example

For an example, refer to LoadFromUri.

Requirements
Target Platforms
Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.