XmlMappedRange.IndentLevel Property (2007 System)
Gets or sets the indent level for the XmlMappedRange control.
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 IndentLevel As Object
'Usage
Dim instance As XmlMappedRange
Dim value As Object
value = instance.IndentLevel
instance.IndentLevel = value
[BrowsableAttribute(false)]
public Object IndentLevel { get; set; }
[BrowsableAttribute(false)]
public:
property Object^ IndentLevel {
Object^ get ();
void set (Object^ value);
}
public function get IndentLevel () : Object
public function set IndentLevel (value : Object)
Property Value
Type: System.Object
The indent level for the XmlMappedRange control.
Remarks
The indent level can be an integer from 0 to 15.
Using this property to set the indent level to a number less than 0 (zero) or greater than 15 causes an error.
Examples
The following code example uses the IndentLevel property to set the indent level of an XmlMappedRange to 3. This code example assumes that the current worksheet contains an XmlMappedRange named CustomerLastNameCell.
Private Sub SetIndentLevel()
Me.CustomerLastNameCell.Value2 = "Smith"
Me.CustomerLastNameCell.IndentLevel = 3
End Sub
private void SetIndentLevel()
{
this.CustomerLastNameCell.Value2 = "Smith";
this.CustomerLastNameCell.IndentLevel = 3;
}
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.