| Visual Basic (Declaration) | |
|---|---|
Public Property TitleInfo As TitleInfo  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
Dim instance As SheetView Dim value As TitleInfo instance.TitleInfo = value value = instance.TitleInfo  | |
| C# | |
|---|---|
public TitleInfo TitleInfo {get; set;}  | |
This example sets the subtitle.
             
            
            | C# |  Copy Code | 
|---|---|
fpSpread1.TitleInfo.Visible = true; fpSpread1.TitleInfo.Text = "FarPoint Spread Title"; fpSpread1.TitleInfo.HorizontalAlign = FarPoint.Win.Spread.CellHorizontalAlignment.Center; // Show the subtitle for the individual sheet. fpSpread1.Sheets[0].TitleInfo.Visible = true; fpSpread1.Sheets[0].TitleInfo.Text = "Sheet Only Subtitle"; fpSpread1.Sheets[0].TitleInfo.HorizontalAlign = FarPoint.Win.Spread.CellHorizontalAlignment.Center; fpSpread1.Sheets[0].TitleInfo.BackColor = System.Drawing.Color.Aqua;  | |
| Visual Basic |  Copy Code | 
|---|---|
FpSpread1.TitleInfo.Visible = True FpSpread1.TitleInfo.Text = "FarPoint Spread Title" FpSpread1.TitleInfo.HorizontalAlign = FarPoint.Win.Spread.CellHorizontalAlignment.Center ' Show the subtitle for the individual sheet. FpSpread1.Sheets(0).TitleInfo.Visible = True FpSpread1.Sheets(0).TitleInfo.Text = "Sheet Only Subtitle" FpSpread1.Sheets(0).TitleInfo.HorizontalAlign = FarPoint.Win.Spread.CellHorizontalAlignment.Center FpSpread1.Sheets(0).TitleInfo.BackColor = System.Drawing.Color.Aqua  | |
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8