Spread Windows Forms 12.0 Product Documentation
TextIndent Field
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetStyleProperty Class : TextIndent Field
Represents the text indent of the sheet style. This field is read-only.
Syntax
'Declaration
 
Public Shared ReadOnly TextIndent As SheetStyleProperty
'Usage
 
Dim value As SheetStyleProperty
 
value = SheetStyleProperty.TextIndent
public static readonly SheetStyleProperty TextIndent
Example
This example gets the TextIndent property.
FarPoint.Win.Spread.StyleInfo info = new FarPoint.Win.Spread.StyleInfo();
bool b;
info.BackColor = Color.LightBlue;
info.TextIndent = 2;   
fpSpread1.ActiveSheet.DefaultStyle = info;
b = info.IsPropertySet(FarPoint.Win.Spread.SheetStyleProperty.TextIndent);
listBox1.Items.Add(b.ToString());
Dim info As New FarPoint.Win.Spread.StyleInfo()
Dim b As Boolean
info.BackColor = Color.LightBlue
info.TextIndent = 2
fpSpread1.ActiveSheet.DefaultStyle = info
b = info.IsPropertySet(FarPoint.Win.Spread.SheetStyleProperty.TextIndent)
ListBox1.Items.Add(b.ToString())
See Also

Reference

SheetStyleProperty Class
SheetStyleProperty Members