get_position


Description:

[ Version ( deprecated = true ) ]
public abstract void get_position (out int x, out int y, CoordType coord_type)

Warning: get_position is deprecated.

Gets the position of this in the form of a point specifying this's top-left corner.

Note:

Since 2.12.

Use get_extents instead.

If the position can not be obtained (e.g. a non-embedded plug or missing support), x and y are set to -1.

Parameters:

this

an Component

x

address of int to put x coordinate position

y

address of int to put y coordinate position

coord_type

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