enum Abbyy::TextType

Defined in:

abbyy/text_type.cr

Enum Members

Normal = 0

Common typographic type of text.

Typewriter = 1

The text is typed on a typewriter.

Matrix = 2

The text is printed on a dot-matrix printer.

Index = 3

A special set of characters including only digits written in ZIP-code style.

Handprinted = 4

Handprinted text.

OcrA = 5

A monospaced font, designed for Optical Character Recognition. Largely used by banks, credit card companies and similar businesses.

OcrB = 6

A font designed for Optical Character Recognition.

E13B = 7

A special set of characters including only digits and A, B, C, D characters printed in magnetic ink. MICR (Magnetic Ink Character Recognition) characters are found in a variety of places, including personal checks.

CMC7 = 8

A special set of characters, which includes only digits and A, B, C, D, E characters, written in MICR barcode font (CMC-7).

Gothic = 9

Text printed in Gothic type.

Instance Method Summary

Instance Method Detail

def cmc7? #

[View source]
def e13_b? #

[View source]
def gothic? #

[View source]
def handprinted? #

[View source]
def index? #

[View source]
def matrix? #

[View source]
def normal? #

[View source]
def ocr_a? #

[View source]
def ocr_b? #

[View source]
def to_s #
Description copied from struct Enum

Returns a String representation of this enum member. In the case of regular enums, this is just the name of the member. In the case of flag enums, it's the names joined by vertical bars, or "None", if the value is zero.

If an enum's value doesn't match a member's value, the raw value is returned as a string.

Color::Red.to_s                     # => "Red"
IOMode::None.to_s                   # => "None"
(IOMode::Read | IOMode::Write).to_s # => "Read | Write"

Color.new(10).to_s # => "10"

[View source]
def typewriter? #

[View source]