GetCharBackground Function (JavaSwtRichTextField)

Class

JavaSwtRichTextField.

Action

Returns the character background color in the specified position, or, if the position isn’t specified, returns the color at insertion point. The color is described in terms of RGB values.

Syntax

textfield = GetCharBackground([iLine, iCol])
Variable Description
textfield A record with fields for RGB values. COLOR.
iLine Optional: The line number of the character whose background color is being retrieved. INTEGER.
iCol Optional: The column number of the character whose background color is being retrieved. INTEGER.

Notes

This method is supported only in scripts that use the Classic Agent.