Export (0) Print
Expand All
Expand Minimize

NamedRange.AddIndent Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets or sets a value that determines whether text is automatically indented when the text alignment in the NamedRange control is set to equal distribution either horizontally or vertically.

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

Object AddIndent { get; set; }

Property Value

Type: System.Object
true if text is automatically indented when the text alignment in the NamedRange control is set to equal distribution either horizontally or vertically; otherwise, false.

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.

Show:
© 2014 Microsoft