Sizes Property

Applies to TestComplete 15.45, last modified on December 01, 2022
This property is provided by the legacy OCR plugin. In version 12.60, the plugin was replaced with the new Optical Character Recognition plugin powered by Google Cloud Vision API. To learn more, see Optical Character Recognition.
The legacy OCR plugin was removed from TestComplete in version 12.60. If you need to use objects, methods, and properties provided by the legacy plugin with this version of TestComplete, please contact our Customer Care team. The legacy OCR plugin was restored in TestComplete version 14.0. To use the objects, methods, and properties with this or later TestComplete version, you need to install and enable the plugin manually.

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 - Overview

Highlight search results