'Declaration Public Function New( _ ByVal g As TextCellType _ )
'Usage Dim g As TextCellType Dim instance As New TextCellType(g)
public TextCellType( TextCellType g )
Parameters
- g
- Specified text cell type from which to copy
'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."