FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.CellType Namespace > TextCellType Class > TextCellType Constructor : TextCellType Constructor(TextCellType) |
'Declaration Public Function New( _ ByVal g As TextCellType _ )
'Usage Dim g As TextCellType Dim instance As New TextCellType(g)
public TextCellType( TextCellType g )
FarPoint.Win.Spread.CellType.TextCellType txt = new FarPoint.Win.Spread.CellType.TextCellType(); txt.CharacterCasing = CharacterCasing.Upper; fpSpread1.Sheets[0].Cells[0, 0].CellType = txt; fpSpread1.Sheets[0].Cells[0, 0].Text = "This is a text cell."; FarPoint.Win.Spread.CellType.TextCellType txt1 = new FarPoint.Win.Spread.CellType.TextCellType(txt); fpSpread1.Sheets[0].Cells[0, 1].CellType = txt1; fpSpread1.Sheets[0].Cells[0, 1].Text = "text cell.";
Dim txt As New FarPoint.Win.Spread.CellType.TextCellType() txt.CharacterCasing = CharacterCasing.Upper FpSpread1.Sheets(0).Cells(0, 0).CellType = txt FpSpread1.Sheets(0).Cells(0, 0).Text = "This is a text cell." Dim txt1 As New FarPoint.Win.Spread.CellType.TextCellType(txt) FpSpread1.Sheets(0).Cells(0, 1).CellType = txt1 FpSpread1.Sheets(0).Cells(0, 1).Text = "text cell."
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10