kerning property

Gets or sets a value that indicates whether Windows Internet Explorer should adjust inter-glyph spacing based on kerning tables that are included in the relevant font (that is, enable auto-kerning) or instead disable auto-kerning and set inter-character spacing to a specific length (typically zero).

Syntax

HRESULT value = object.put_kerning( v);HRESULT value = object.get_kerning(* p);

Property values

Type: VARIANT

One of the values in the Property Values section.

String format

auto | <length> | inherit

CSS information

Applies To text content elements
Media visual
Inherited 1
Initial Value auto

Standards information

Remarks

When a length is provided, its value is added to the inter-character spacing value specified by the IHTMLCSSStyleDeclaration::letterSpacing property.

If a length is provided without a unit identifier (for example, an unqualified number such as 128), Internet Explorer processes the length as a width value.

Requirements

Minimum supported client

Windows Vista with SP1, Windows 7

Minimum supported server

Windows Server 2008 R2

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

Reference

IHTMLCSSStyleDeclaration::letterSpacing

IHTMLCSSStyleDeclaration::wordSpacing