get_contents_at


Description:

[ NoWrapper ]
public abstract Bytes get_contents_at (uint offset, AccessibleTextGranularity granularity, out uint start, out uint end)

Retrieve the current contents of the accessible object starting from the given offset, and using the given granularity.

The start and end values contain the boundaries of the text.

Parameters:

this

the accessible object

offset

the offset, in characters

granularity

the granularity of the query

start

the start of the range, in characters

end

the end of the range, in characters

Returns:

the requested slice of the contents of the accessible object, as UTF-8. Note that the slice does not have to be NUL-terminated