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

Description

Gets the value that indicates a direction of reading order.

Syntax

elementInstance.Dir

Arguments

None

Return value

ClassDescription
stringA direction of reading order.

Sample code

//anyElement is an any instance of element type.

string readingOrder = anyElement.Dir;

Notes

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

If the reading order is set from left to right, return "ltr". It is a default.

If the reading order is set from right to left, return "rtl".

Links for reference

Copyright © Rice All rights reserved.