isEmbedded Property

Summary

Indicates whether this attachment file is embedded inside the original document.

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

Property Value

true if this attachment file is embedded inside the original document; otherwise, false. The default value is false.

Remarks

isEmbedded is set to true when embedded attachments are read from a document and the value of documentId is null.

Application programs adding external attachments should set the value of isEmbedded to false and set documentId to the ID of the document representing the attachment.

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.