layoutGridLine property
Sets or retrieves the gridline value used for rendering the text content of an element.
Syntax
Integer value = object.put_layoutGridLine(Variant v);Integer value = object.get_layoutGridLine(Variant* sLineSpace);
Property values
Type: VARIANT
none (none)
-
Default. No grid line is set.
auto (auto)
-
Largest character in the font of the element is used to set the character grid.
length (length)
-
Floating-point number, followed by an absolute units designator (
cm,mm,in,pt, orpc) or a relative units designator (em,ex, orpx). For more information about the supported length units, see CSS Values and Units Reference. percentage (percentage)
-
Integer, followed by a percent sign (%). The value is a percentage derived from the dimensions of the parent object.
String format
none | auto |
<length>
CSS information
| Applies To | All elements |
|---|---|
| Media | visual |
| Inherited | no |
| Initial Value |
Standards information
There are no standards that apply here.
Remarks
Windows Internet Explorer 8. The IHTMLCSSStyleDeclaration::layoutGridLine attribute is an extension to CSS, and can be used as a synonym for layout-grid-line in IE8 Standards mode.
The visual effects of the IHTMLCSSStyleDeclaration::layoutGridLine attribute are similar to the IHTMLCSSStyleDeclaration::lineHeight property.
Web documents in Asian languages, such as Chinese or Japanese, usually create a page layout for characters using a one- or two-dimensional grid. You can use the IHTMLCSSStyleDeclaration::layoutGrid attribute to incorporate this layout into Web documents.
The IHTMLCSSStyleDeclaration::layoutGridLine attribute applies only to block-level elements.
Note For this property to have an effect, the IHTMLCSSStyleDeclaration::layoutGridMode attribute must be set to line or both.
Requirements
|
Minimum supported client | Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2003 [desktop apps only] |
|
Header |
|
|
IDL |
|
|
DLL |
|
Build date: 11/12/2012