mimeType Property

Summary

Mime type of the attachment file.

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

Property Value

The mime type of the attachment file, such as image/jpeg or application/pdf. The default value is null.

Remarks

mimeType is optional and may not be set by the document factory.

For more information, refer to Document Attachments.

Example

For an example, refer to DocumentAttachment and DocumentAttachment.documentId.

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.