←Select platform

LoadAttachmentsMode Property

Summary

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

Syntax
C#
VB
C++
public DocumentLoadAttachmentsMode LoadAttachmentsMode {get; set;} 
Public Property LoadAttachmentsMode() As DocumentLoadAttachmentsMode 
   Get 
   Set 
public:  
   property DocumentLoadAttachmentsMode^ LoadAttachmentsMode 
   { 
      DocumentLoadAttachmentsMode^ get() 
      void set(DocumentLoadAttachmentsMode^ value) 
   } 

Property Value

A DocumentLoadAttachmentsMode enumeration value that indicates how to handle the embedded attachment found in the document during loading, as described in the Remarks section. The default value is DocumentLoadAttachmentsMode.None.

Remarks

LoadAttachmentsMode is used 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 found, set in the LEADDocument.Attachments collection.

Refer to Document Attachments for more information.

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.