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

Description

Gets the width of the scroll view of the element.

Syntax

elementInstance.ScrollWidth

Arguments

None

Return value

ClassDescription
intThe width of the scroll view of the element, in pixels.

Sample code

//anyElement is an any instance of element type.

int scrollWidth = anyElement.ScrollWidth;

Notes

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

Links for reference

Copyright © Rice All rights reserved.