Compartilhar via


layoutGrid property

Specifies the composite document grid properties that specify the layout of text characters.

 

Syntax

Integer value = object.put_layoutGrid( v);Integer value = object.get_layoutGrid(* sLayout);

Property values

Type: BSTR

one or more of the values listed in Possible Values, in the order specified.

modebothAny of the range of mode values available to the layoutGridMode property.

Value Meaning
mode both

Any of the range of mode values available to the IHTMLRuleStyle2::layoutGridMode property.

type loose

Any of the range of type values available to the IHTMLRuleStyle2::layoutGridType property.

line none

Any of the range of line values available to the IHTMLRuleStyle2::layoutGridLine property.

char none

Any of the range of character values available to the IHTMLRuleStyle2::layoutGridChar property.

 

String format

mode type line char

CSS information

Applies To All elements
Media visual
Inherited 1
Initial Value both loose none none

Standards information

There are no standards that apply here.

Remarks

Windows Internet Explorer 8. The IHTMLRuleStyle2::layoutGrid attribute is an extension to CSS, and can be used as a synonym for layout-grid in IE8 Standards mode.

Though you don't have to specify all four values for the IHTMLRuleStyle2::layoutGrid attribute, they must be listed in the order given in Possible Values.

Web documents in Asian languages, such as Chinese or Japanese, usually create a page layout for characters using a one-dimensional or two-dimensional grid. You can use the IHTMLRuleStyle2::layoutGrid attribute to incorporate this layout into Web documents.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll