←Select platform

AttachmentNumber Property

Summary

Attachment number.

Syntax
C#
VB
C++
public int AttachmentNumber {get; set;} 
Public Property AttachmentNumber() As Integer 
   Get 
   Set 
public:  
   property Int32 AttachmentNumber 
   { 
      Int32 get() 
      void set(Int32 value) 
   } 

Property Value

The 1-based embedded attachment number. The default value is 0.

Remarks

AttachmentNumber is automatically populated with values starting from 1 when embedded attachments are read from a document and are guaranteed to be consecutive and unique.

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.3.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly