Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SheetStyleProperty Class / TextIndent Field
Example


In This Topic
    TextIndent Field
    In This Topic
    Represents the text indent of the sheet style.
    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