Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

offsetX property

Sets or retrieves the x-coordinate of a pointer's position relative to the object firing the event.

Syntax

HRESULT value = object.put_offsetX( v);HRESULT value = object.get_offsetX(* p);

Property values

Type: long

the x-coordinate, in pixels.

Remarks

The coordinates match the IHTMLElement::offsetLeft and IHTMLElement::offsetTop properties of the object. Use IHTMLElement::offsetParent to find the container object that defines this coordinate system.

 

 

Community Additions

ADD
Show:
© 2015 Microsoft