textIndent property
[This documentation is preliminary and is subject to change.]
Sets or retrieves the indentation of the first line of text in the object.
This property is not supported for Metro style apps 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 |
|---|---|
|
Minimum supported server | Windows Server 2003 |
|
Header |
|
|
DLL |
|
Build date: 1/23/2012
Community Additions
Show:
