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

Description

Gets the scrolled distance of the scroll view in the horizontal direction.

Syntax

elementInstance.ScrollLeft

Arguments

None

Return value

ClassDescription
intThe scrolled distance of the scroll view in the horizontal direction, in pixels.

Sample code

//anyElement is an any instance of element type.

int scrollLeft = anyElement.ScrollLeft;

Notes

It's a wrapper of the MSHTML.IHTMLElement2.scrollLeft.

Links for reference

Copyright © Rice All rights reserved.