←Select platform

Attachments Property

Summary

Gets the Object that manages the attachments of the document.

Syntax
C#
VB
C++
public DocumentAttachments Attachments {get;} 
Public ReadOnly Property Attachments() As DocumentAttachments 
   Get 
public:  
   property DocumentAttachments^ Attachments 
   { 
      DocumentAttachments^ get() 
   } 

Property Value

The DocumentAttachments object that manages the attachments of this LEADDocument.

Remarks

DocumentAttachments derives from LeadCollection<T> and thus can implement System.Collections.ObjectModel.Collection. Use any of the collection methods to add, remove, insert, get, set, and iterate through the attachments.

DocumentAttachments contains a collection of DocumentAttachment objects, each containing the data for a single attachment in the document. The embedded attachments of a document can be read and populated when setting the LoadDocumentOptions.LoadAttachmentsMode property to DocumentLoadAttachmentsMode.AsAttachments during the loading of this document.

DocumentAttachments can also be manually populated by an application program to add or remove attachments to a document.

Refer to Document Attachments for more information.

Example

For an example, refer to DocumentAttachment or 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.