Developer's Documentation for free mobile OCR SDK

Documentation Menu

CharInfo class

Important! This class is reserved for future use.

Extended information about the character‘s formatting.

final class CharInfo {
    public final int ForegroundColor;
    public final int BackgroundColor;
}

Fields

Name

Type

Description

BackgroundColor

int

The color of the background.

Note: The int value is calculated from the RGB triplet using the formula: (red value) + (256 x green value) + (65536 x blue value), where red value is the first triplet component, green value is the second triplet component, blue value is the third triplet component. For example, the int value of the color white equals 16777215.

ForegroundColor

int

The color of the symbol.