enum Abbyy::FieldMarkingType

Defined in:

abbyy/field_marking_type.cr

Enum Members

SimpleText = 0

This value denotes plain text.

UnderlinedText = 1

This value specifies that the text is underlined.

TextInFrame = 2

This value specifies that the text is enclosed in a frame.

GreyBoxes = 3

This value specifies that the text is located in white fields on a gray background.

CharBoxSeries = 4

This value specifies that the field where the text is located is a set of separate boxes.

SimpleComb = 5

This value specifies that the field where the text is located is a comb.

CombInFrame = 6

This value specifies that the field where the text is located is a comb and that this comb is also the bottom line of a frame.

PartitionedFrame = 7

This value specifies that the field where the text is located is a frame and this frame is split by vertical lines.

Instance Method Summary

Instance Method Detail

def char_box_series? #

[View source]
def comb_in_frame? #

[View source]
def grey_boxes? #

[View source]
def partitioned_frame? #

[View source]
def simple_comb? #

[View source]
def simple_text? #

[View source]
def text_in_frame? #

[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 underlined_text? #

[View source]