Share via


offsetX property

Gets the x-coordinate of the mouse pointer, relative to the target node.

 

Syntax

HRESULT value = object.get_offsetX(* p);

Property values

Type: long

The x-coordinate.

Standards information

Remarks

Offset coordinates include the padding of an element, but not its margin or border.

See also

Reference

IDOMMouseEvent::clientX

IDOMMouseEvent::pageX

IDOMMouseEvent::screenX

IDOMMouseEvent::x