←Select platform

AttachmentNumber Property

Summary

1-based number of this attachment in the file.

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 number of this attachment in the file. The default value is 0.

Remarks

AttachmentNumber can be passed as the parameter to RasterCodecs.ExtractAttachment to indicate the attachment number to extract.

When RasterCodecs.ReadAttachments is called and the file contains attachments, then the value of AttachmentNumber of each CodecsAttachment object is guaranteed to be consecutive and unique.

Example

For an example, refer to ReadAttachments.

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

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.