AddNew Method

This method creates a new object of the collection element type and adds it to the collection. The properties of the newly added object have default values.

Syntax

C++

HRESULT AddNew( I<ElementType>** Result );
    

C#

<ElementType> AddNew();
    

Visual Basic .NET

Function AddNew() As <ElementType>
    

Parameters

Result
[out, retval] A pointer to I<ElementType>* pointer variable that receives the interface pointer of the added object.

Return values

This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.

Remarks

The table below describes the collections which provide this method and the types of elements in the collections:

Collection type Element type
AuthorsList AuthorInfo
BaseLanguages BaseLanguage
DocumentInformationDictionary DocumentInformationDictionaryItem
List ListLevel
PDFPictures PDFPicture

See also

Working with Collections

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.