Megosztás a következőn keresztül:


NamedRange.AddIndent Property (2007 System)

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.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.dll)

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public Property AddIndent As Object
'Usage
Dim instance As NamedRange 
Dim value As Object 

value = instance.AddIndent

instance.AddIndent = value
[BrowsableAttribute(false)]
public Object AddIndent { get; set; }
[BrowsableAttribute(false)]
public:
property Object^ AddIndent {
    Object^ get ();
    void set (Object^ value);
}
public function get AddIndent () : Object 
public function set AddIndent (value : Object)

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.

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.

.NET Framework Security

See Also

Reference

NamedRange Class

NamedRange Members

Microsoft.Office.Tools.Excel Namespace