←Select platform

LoadDocumentAttachment Method

Summary

Loads an attachment as a LEADDocument object.

Syntax
C#
VB
C++
public LEADDocument LoadDocumentAttachment( 
   LoadAttachmentOptions options 
) 
Public Function LoadDocumentAttachment( 
   ByVal options As LoadAttachmentOptions 
) As LEADDocument 
public:  
   LEADDocument^ LoadDocumentAttachment( 
      LoadAttachmentOptions^ options 
   ) 

Parameters

options

Options to identify the attachment to load.

Return Value

The attachment document as a LEADDocument object.

Remarks

Use LEADDocument.LoadDocumentAttachment to load an attachment if the owner document is already loaded as a LEADDocument object.

Use DocumentFactory.LoadDocumentAttachment to load an attachment if the owner document is not loaded and only its ID is available.

For more information, refer to DocumentFactory.LoadDocumentAttachment and 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.