Freigeben über


NamedRange.AddIndent Property

Definition

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.

public:
 property System::Object ^ AddIndent { System::Object ^ get(); void set(System::Object ^ value); };
public object AddIndent { get; set; }
member this.AddIndent : obj with get, set
Public Property AddIndent As Object

Property Value

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.

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