pixelLeft property

[This documentation is preliminary and is subject to change.]

Sets or retrieves the left position of the object.

Syntax

Integer value = object.put_pixelLeft(Integer v);Integer value = object.get_pixelLeft(Integer* iLeft);

Property values

Type: long

The left position in pixels.

String format

<integer>

CSS information

Applies ToAll elements
Mediavisual
Inheritedno
Initial Value

Remarks

The pixelLeft property reflects the value of the Cascading Style Sheets (CSS) left attribute. Use the offsetLeft property to calculate actual positions within the document area.

Unlike the left property, the pixelLeft value is an integer, not a string, and is always interpreted in pixels.

For more information about how to access the dimension and location of an object on the page through the Dynamic HTML (DHTML) Document Object Model (DOM), see Measuring Element Dimension and Location with CSSOM in Internet Explorer 9.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

DLL

Mshtml.dll

See also

posLeft

 

 

Build date: 1/23/2012

Community Additions

Show: