Properties
| Name | Type | Description |
|---|---|---|
| Application | Engine, read-only | Returns the Engine object. |
| Binding | PDFAttachmentBindingEnum, read-only | Specifies if the attached file is associated with one annotation, PDF Portfolio, or the document in general. For an attachment added via FineReader Engine API, this property value is always PAB\_Document. |
| Description | BSTR, read-only | Returns the description given to the file when it was attached. |
| FileFormat | ImageFileFormatEnum, read-only | Returns the original file format defined after its opening by ABBYY FineReader Engine. <Note> If the attachment format is not equal to IFF\_UnknownFormat, then it can be used in the AddImageFileFromAttachment method. Otherwise, you can save the attachment using the SaveToFile or SaveToMemory (Win) method. </Note> |
| FileName | BSTR, read-only | Returns the original file name. |
Methods
| Name | Description |
|---|---|
| SaveToFile | Saves the attached file on disk. |
| SaveToMemory <Note> Windows only </Note> | Saves the attached file into the global memory. |
Related objects
Object Diagram
Input parameter
This object is passed as an input parameter to the AddImageFileFromAttachment method.Output parameter
This object is the output parameter of the AddFromFile, AddFromMemory (Win) methods of the PDFAttachments object.Samples
C++ (COM) code
C++ (COM) code
