Version

Indent Property

Returns or sets a value which determines the indentation from the left or right margin for the associated paragraph.
Syntax
'Declaration
 
Public Property Indent As Nullable(Of Single)
public Nullable<float> Indent {get; set;}
Remarks

The unit of measure to which this value applies is determined by the value of the associated WordDocumentWriter's Unit property.

The margin to which this value is relative is determined by the document layout.

For right-to-left reading languages, this value is relative to the right margin; in all other cases it is relative to the left margin.

Whether the associated paragraph is formatted for a right-to-left reading language is determined by the RightToLeft property.

In the absence of an explicit setting, this property resolves to a value that equals one-half inch multiplied by a number that is one greater than the level number. For example, at the third indentation level (Level property equaling two since it is zero-based), the resolved value is (.5" X 2) = 1".

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also