Share via


CellFormat.AddIndent Property

True if text is automatically indented when the text alignment in a cell is set to equal distribution either horizontally or vertically.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property AddIndent As Object
    Get
    Set
'Usage
Dim instance As CellFormat
Dim value As Object

value = instance.AddIndent

instance.AddIndent = value
Object AddIndent { get; set; }

Property Value

Type: System.Object

Remarks

To set text alignment to equal distribution, you can set the VerticalAlignment property to xlVAlignDistributed when the value of the Orientation property is xlVertical, and you can set the HorizontalAlignment property to xlHAlignDistributed when the value of the Orientation property is xlHorizontal.

See Also

Reference

CellFormat Interface

CellFormat Members

Microsoft.Office.Interop.Excel Namespace