get_text_layout


Description:

[ Version ( since = "0.16" ) ]
public bool get_text_layout (out Rectangle[] rectangles)

Obtains the layout of the text as a list of Rectangle This array must be freed with g_free when done.

The position in the array represents an offset in the text returned by get_text

See also get_text_layout_for_area.

Parameters:

this

A Page

rectangles

return location for an array of Rectangle

n_rectangles

length of returned array

Returns:

true if the page contains text, false otherwise