Edit

Share via


Style.AddIndent Property

Definition

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

public:
 property bool AddIndent { bool get(); void set(bool value); };
public bool AddIndent { get; set; }
Public Property AddIndent As Boolean

Property Value

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.

Applies to