Home Cooker Classes Others Rice CookerGX
Classes  >  element  >  OffsetLeft
element class : OffsetLeft getter

Description

Gets the horizontal offset from the element of the offsetParent property.

Syntax

elementInstance.OffsetLeft

Arguments

None

Return value

ClassDescription
intThe horizontal offset from the element of the offsetParent property, in pixels.

Sample code

//anyElement is an any instance of element type.

int left = anyElement.OffsetLeft;

Notes

It's a wrapper of the MSHTML.IHTMLElement.offsetLeft.

Links for reference

Copyright © Rice All rights reserved.