ActiveReports Developer 7
DDCell Class
Members  Example  See Also 
GrapeCity.ActiveReports.Export.Excel.v7 Assembly > GrapeCity.SpreadBuilder.Cells Namespace : DDCell Class

Glossary Item Box

Represents a single cell in a spreadsheet.

Object Model

DDCell Class

Syntax

Visual Basic (Declaration) 
Public Class DDCell 
C# 
public class DDCell 

Example

Visual BasicCopy 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";

Inheritance Hierarchy

System.Object
   GrapeCity.SpreadBuilder.Cells.DDCell

See Also