msBlockProgression property

Specifies the block progression and layout orientation.

 

Syntax

HRESULT value = object.put_msBlockProgression( v);HRESULT value = object.get_msBlockProgression(* p);

Property values

Type: BSTR

tb (tb)

Default. Top-to-bottom block flow. Layout is horizontal.

rl (rl)

Right-to-left block flow. Layout is vertical.

bt (bt)

Bottom-to-top block flow. Layout is horizontal.

lr (lr)

Left-to-right block flow. Layout is vertical.

String format

tb | rl | bt | lr

CSS information

Applies To All elements
Media visual
Inherited no
Initial Value

Standards information

There are no standards that apply here.

Remarks

In vertical layout, text lines are rotated 90° clockwise. Images are not rotated, but tables are. Box layout in vertical orientations is exactly analogous to layout in the horizontal orientation: width, height, top, bottom, right, and left do not rotate with the text.

Only one block progression is active at a time; these values cannot be combined. See IHTMLCSSStyleDeclaration::writingMode for additive block progression values.

This property is based on the block-progression property of the CSS3 Text Layout module.

Requirements

Minimum supported client

Windows XP with SP2

Minimum supported server

Windows Server 2003

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IHTMLCSSStyleDeclaration::direction