Add Method

Applies to TestComplete 12.60, last modified on September 17, 2018
The Optical Character Recognition feature provided by the OCR plugin is deprecated. It was removed from TestComplete in version 12.60 and is no longer available for later versions.
Instead, TestComplete version 12.60 introduces the new Optical Character Recognition engine featuring Google Cloud Vision API. To learn more, see Optical Character Recognition.
If you need to use the legacy feature, please contact our Customer Care team.

Description

The FontCollection.Add method lets you create a new item in the given font collection represented by the FontCollection object.

Declaration

FontCollectionObj.Add()

FontCollectionObj An expression, variable or parameter that specifies a reference to a FontCollection object
Result A Font object

Applies To

The method is applied to the following object:

Result Value

A Font object for the newly created item of the font collection.

Example

To view an example that demonstrates how to use the Add method, see the General Recognition Procedure section of the Using Optical Character Recognition - Overview topic.

See Also

FontCollection.Item
FontCollection.Count
Font Object
Using Optical Character Recognition

Highlight search results