SpreadsheetGear Namespace > IRange Interface : IndentLevel Property |
Gets or sets the indent level of the specified cell(s).
[Visual Basic]
Overridable Property IndentLevel As Integer
[C#]
virtual int IndentLevel {get; set;}
[C++]
__property virtual int get_IndentLevel();
__property virtual void set_IndentLevel(
int value
);
[C++/CLI]
virtual property int IndentLevel {
int get();
void set (int value);
}
The IndentLevel propert indents from the left for HAlign.Left, from the right for HAlign.Right or from the left and right for HAlign.Distributed. If IndentLevel is set to a non-zero value and the HorizontalAlignment property is not currently set to one of these three values, HorizontalAlignment will be set to HAlign.Left.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
IRange Interface | IRange Members
See our live Excel Reporting, Excel Charting, Excel to DataGrid and Excel Calculation Samples.
Copyright © 2003-2007 SpreadsheetGear LLC. All Rights Reserved.
SpreadsheetGear and Spreadsheet Gear are trademarks of SpreadsheetGear LLC.