scroll_substring_to_point
Description:
[ Version ( since = "2.32" ) ]
public abstract bool scroll_substring_to_point (int start_offset, int end_offset, CoordType coords, int x, int y)
public abstract bool scroll_substring_to_point (int start_offset, int end_offset, CoordType coords, int x, int y)
Move the top-left of a substring of this to a given position of the screen by scrolling all necessary parents.
Parameters:
| this |
an Text |
| start_offset |
start offset in the this |
| end_offset |
end offset in the this, or -1 for the end of the text. |
| coords |
specify whether coordinates are relative to the screen or to the parent object. |
| x |
x-position where to scroll to |
| y |
y-position where to scroll to |
Returns:
|
whether scrolling was successful. |