attachmentNumber Property

Summary

Attachment number.

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

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.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.