Add method of the DocumentInfoItems Object (COM-based API)

This method adds a new element at the end of the DocumentInfoItems collection.

Visual Basic Syntax

Method Add(
   name As String,
   value As String
)

C++ Syntax

HRESULT Add(
    BSTR name,
    BSTR value
);

Parameters

name

[in] This parameter contains the newly added key name. The key name must not be an empty string and must not repeat any of the other key names of the collection. You must not add key-value pairs with Creator, Producer, ModDate, and CreationDate key names. The value of the Producer key name can be set in the IPDFExportSettings::Producer (IPDFAExportSettings::Producer) property. The value of the Creator, ModDate, and CreationDate key names cannot be changed.

value

[in] This parameter contains the value of the newly added key.

Return Values

This method has no specific return values. It returns standard return values of ABBYY FineReader Server COM-based API functions.

See also

DocumentInfoItems,

DocumentInfoItem.

3/26/2024 1:49:49 PM

Please leave your feedback about this article

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.