get_extents


Description:

public abstract void get_extents (out int x, out int y, out int width, out int height, CoordType coord_type)

Gets the rectangle which gives the extent of the this.

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:

this

an Component

x

address of int to put x coordinate

y

address of int to put y coordinate

width

address of int to put width

height

address of int to put height

coord_type

specifies whether the coordinates are relative to the screen or to the components top level window