Skip to main content

Parameter

Description

Void Mode( Direction )

White Gap orientation. See Element Properties dialog box, White Gap tab and the description of the White Gap properties.

E.g.

The code below tells the program to look for a vertical gap.

Mode: Vertical;

Void RelativeGapLevel( Real )

See White Gap. Relative upper threshold and the description of the White Gap properties.

Void MaxGapLevel( Distance )

See White Gap. Upper threshold and the description of the White Gap properties.

E.g.

The code below tells the program that the maximum gap level may not exceed 150 dots.

MaxGapLevel (150dt);

Void MinGapLevel( Distance )

See White Gap. Lower threshold and the description of the White Gap properties.

Void MinGapWidth( Distance )

See White Gap. Min width/height and the description of the White Gap properties.

E.g.

The code below tells the program that the minimum height of the horizontal gap is 50 dot.

Mode: Horizontal;
MinGapWidth (50dt);

Void Type(ImageObjectType )

E.g.

The code below specifies that the program must look for white gaps only among text objects.

Type: AnyText+InvertedTextObject;

Void UseRawText( Logic )

Enables the use in text searches of those unrecognized text-like objects that were assigned the type Raw Text during pre-recognition. To enable this feature, call the method with parameter True. By default, only recognized text is used in text searches (i.e. the parameter is set to False).

More:

Hypotheses for White Gap elements