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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2