Spread Windows Forms 12.0 Product Documentation
TextIndent Property (StyleInfo)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > StyleInfo Class : TextIndent Property
Gets or sets the amount to indent the text in a cell for the style.
Syntax
'Declaration
 
Public Overridable Property TextIndent As Integer
'Usage
 
Dim instance As StyleInfo
Dim value As Integer
 
instance.TextIndent = value
 
value = instance.TextIndent
public virtual int TextIndent {get; set;}
Example
This example sets the TextIndent property.
FarPoint.Win.Spread.StyleInfo si = new FarPoint.Win.Spread.StyleInfo();
si.BackColor = System.Drawing.Color.Red;
si.TextIndent = 3;
fpSpread1.ActiveSheet.DefaultStyle = si;
Dim si As New FarPoint.Win.Spread.StyleInfo()
si.BackColor = System.Drawing.Color.Red
si.TextIndent = 3
FpSpread1.ActiveSheet.DefaultStyle = si
See Also

Reference

StyleInfo Class
StyleInfo Members