get_text_attributes_for_area


Description:

[ Version ( since = "0.26" ) ]
public List<TextAttributes> get_text_attributes_for_area (Rectangle area)

Obtains the attributes of the text in area as a List of TextAttributes.

This list must be freed with free_text_attributes when done.

Each list element is a TextAttributes struct where start_index and end_index indicates the range of text (as returned by get_text_for_area) to which text attributes apply.

Parameters:

this

A Page

area

a Rectangle

Returns:

A List of TextAttributes