Compartilhar via


letterSpacing property

Specifies the amount of additional space between letters in the object.

 

Syntax

Integer value = object.put_letterSpacing(Variant v);Integer value = object.get_letterSpacing(Variant* sSpacing);

Property values

Type: VARIANT

normal (normal)

Default. Default spacing.

length (length)

Floating-point number, followed by an absolute units designator (cm, mm, in, pt, or pc) or a relative units designator (em, ex, or px). For more information about the supported length units, see CSS Values and Units Reference.

String format

normal | <length> | inherit

CSS information

Applies To All elements
Media visual
Inherited 1
Initial Value

Standards information

Remarks

When specified as a positive length value, the IHTMLStyle::letterSpacing attribute adds the specified value to the default spacing between characters within an element. A negative length value decreases the space between characters. Letter spacing can be influenced by justification.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll