Component.getExtents
void getExtents(out int x, out int y, out int width, out int height, atk.types.CoordType coordType)Gets the rectangle which gives the extent of the component.
If the extent can not be obtained (e.g. a non-embedded plug or missing support), all of x, y, width, height are set to -1.
Parameters
x | address of #gint to put x coordinate |
y | address of #gint to put y coordinate |
width | address of #gint to put width |
height | address of #gint to put height |
coordType | specifies whether the coordinates are relative to the screen or to the components top level window |