CreateNew Method of DocumentTypes Object (COM-based API)

This method creates a new DocumentType object and returns a reference to it.

Visual Basic Syntax

Method CreateNew(
   name As String
) As DocumentType

C++ Syntax

HRESULT CreateNew(
    BSTR Name,
    IDocumentType** item



[in] This parameter contains the name of new document type.


[out] A pointer to the DocumentType object.

Return Values

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

See also

Working with Collections.

26.03.2024 13:49:49

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.