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

Description

Gets the width of the top border of the element, in pixels.

Syntax

elementInstance.ClientTop

Arguments

None

Return value

ClassDescription
intThe width of the top border of the element, in pixels.

Sample code

//anyElement is an any instance of element type.

int borderWidth = anyElement.ClientTop;

Notes

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

Links for reference

Copyright © Rice All rights reserved.