Visual Basic (Declaration) | |
---|---|
Public Class DDCell |
C# | |
---|---|
public class DDCell |
Visual Basic | Copy Code |
---|---|
'specify a font for a range of cells Dim sb As New Workbook() sb.Sheets.AddNew() Dim start As DDCell = sb.Sheets(0).Cell(0, 0) Dim end As DDCell = sb.Sheets(0).Cell(1, 2) sb.Sheets(0).Cells(start, [end]).FontName = "Comic sans ms" |
C# | Copy Code |
---|---|
Workbook sb = new Workbook(); sb.Sheets.AddNew(); DDCell start = sb.Sheets[0].Cell(0, 0); DDCell end = sb.Sheets[0].Cell(1, 2); sb.Sheets[0].Cells(start, end).FontName = "Comic sans ms"; |
System.Object
GrapeCity.SpreadBuilder.Cells.DDCell