loadAttachmentsMode Property

Summary

Controls how to handle the embedded attachments found in the document during loading.

Syntax
TypeScript
JavaScript
Object.defineProperty(LoadDocumentOptions.prototype, 'loadAttachmentsMode', 
   get: function(), 
   set: function(value) 
) 
loadAttachmentsMode: DocumentLoadAttachmentsMode; 

Property Value

Value that indicates how to handle the embedded attachments found in the document during loading, as follows:

Value Description
DocumentLoadAttachmentsMode.none Do not read embedded attachments. This is the default value.
DocumentLoadAttachmentsMode.asAttachments Embedded attachments are read and if any are found, set in the LEADDocument.attachments collection.
Remarks

The default value is DocumentLoadAttachmentsMode.none.

For more information, refer to Document Attachments.

Example

For an example, refer to DocumentAttachment.

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.