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
-
Default. Default spacing.
-
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.
String format
normal |
<length>
| inherit
CSS information
| Applies To | All elements |
|---|---|
| Media | visual |
| Inherited | 1 |
| Initial Value |
Standards information
- CSS 2.1, Section 5.4.2
Remarks
When specified as a positive length value, the IHTMLCSSStyleDeclaration::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 |
|
|
IDL |
|
|
DLL |
|

