Home Cooker Classes Others Rice CookerGX
Classes  >  element  >  Dir(string)
element class : Dir(string) setter

Description

Sets the value that indicates a direction of reading order.

Syntax

elementInstance.Dir = direction

Arguments

ClassNameDescription
stringdirectionA direction of reading order.

Return value

None

Sample code

//anyElement is an any instance of element type.

anyElement.Dir = "ltr";

Notes

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

If the set string is "ltr", the reading order will be set from left to right.

If the set string is "rtl", the reading order will be set from right to left.

Links for reference

Copyright © Rice All rights reserved.