Sizes Property

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 Font.Sizes property lets you get an IntCollection object that represents a collection of sizes for the given font that will be used during character recognition. Individual font sizes in this collection must be specified by the corresponding integer values in points.

Declaration

FontObj.Sizes

Read-Only Property An IntCollection object
FontObj An expression, variable or parameter that specifies a reference to a Font object

Applies To

The property is applied to the following object:

Property Value

An IntCollection object that represents the font size collection.

Example

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

See Also

IntCollection Object
Font.Name
Font.Styles
Using Optical Character Recognition

Highlight search results