Please enable JavaScript to view this site.

ESL Documentation

ESLLIB Subroutine

Obtain the style attribute of the character within a colored textual region.

EslGetTextAttrib(TxtRgnHdle_IV, Column_IV, Line_IV, Attrib_IV)

TxtRgnHdle_IV

The integer handle of the Textual Region containing the character to be examined. This handle can be obtained using the built-in function "handle of ".

Column_IV

The horizontal position of the character to be examined, starting at position 1.

Line_IV

The vertical position of the character to be examined, starting at position 1.

Attrib_IV

The integer assigned to receive the style attribute of the specified character.

Description

This routine allows a specified character to be examined to determine if it has a style attribute set.

The current styles are:

ESL_NORMAL

No additional style

ESL_UNDERLINE

The character has been underlined

Be sure to include esllib.inc before using this function.

See Also

EslMakeAttribute( ) ESLLIB Subroutine