mimeType Property

Summary

Gets the MIME type of the document.

Syntax

JavaScript Syntax
Object.defineProperty(Document.prototype, 'mimeType', 
	get: function(), 
	set: function(value) 
) 
TypeScript Syntax
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 19.0.2017.10.18
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Documents Assembly