Chinese Simplified (简体中文)

PDFAttachments Object (IPDFAttachments Interface)

This object represents a collection of PDF attachments of a document (PDFAttachment objects). It contains methods for getting the number of attachments in the collection, accessing a single element of the collection and iterating through the collection. The collection is accessible via the FRDocument object.

Notes:

  • The indexing of ABBYY FineReader Engine collections starts with 0.
  • The foreach statement in C# (for each in Visual Basic .NET) can be used to manipulate the collection.

Properties

Name Type Description
Application Engine, read-only Returns the Engine object.
Count int, read-only Stores the number of elements in the collection.
Element PDFAttachment, read-only Provides access to a single element of the collection.

Methods

Name Description
AddFromFile Adds a specified file to the collection of PDF attachments.
AddFromMemory Adds a file from the global memory, where it was previously loaded by the user, to the collection of PDF attachments.
DeleteAll Removes all the elements from the collection.
DeleteAt Removes an element from the collection.
Item Provides access to a single element of the collection.

Related objects

Object Diagram

See also

FRDocument

PDFExportFeatures

24.03.2023 8:51:52

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.