textIndent property
Sets or retrieves the indentation of the first line of text in the object.
This property is not supported for Windows Store apps built for Windows using JavaScript.
![]() |
Syntax
Integer value = object.put_textIndent(Variant v);Integer value = object.get_textIndent(Variant* sIndent);
Property values
Type: VARIANT
one of the values listed in Possible Values.percentage (percentage)
-
Integer, followed by a percent sign (%). This value is a percentage of the width of the parent object.
String format
<length>
|
<percentage>
| inherit
CSS information
| Applies To | All elements |
|---|---|
| Media | visual |
| Inherited | 1 |
| Initial Value | 0 |
Standards information
- CSS 2.1, Section 5.4.7
Remarks
The property can be negative. An indent is not inserted in the middle of an object that was broken by another object, such as br in HTML.
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
