Represents a web cell.
For a list of all members of this type, see WebCell Members.
System.Object
Aspose.Grid.Web.Data.WebCell
public abstract class WebCell
Thread Safety
Public static (Shared in Visual Basic) members of this type are
safe for multithreaded operations. Instance members are not guaranteed to be
thread-safe.
Example
[C#]
WebWorksheets sheets = GridWeb1.WebWorksheets;
WebWorksheet sheet = sheets[sheets.Add("demo1")];
// Gets an webcell object
WebCell cell = sheet.Cells[0,0];
cell.PutValue("Demo Text");
cell.Style.Font.Size = new FontUnit("72pt");
cell.Style.Wrap = false;
cell.Style.BackColor = Color.Gray;
cell.Style.BorderStyle = BorderStyle.Solid;
cell.Style.BorderWidth = new Unit(1, UnitType.Pixel);
cell.Style.BorderColor = Color.Silver;
[Visual Basic]
Dim sheets As WebWorksheets = GridWeb1.WebWorksheets
Dim sheet As WebWorksheet = sheets(sheets.Add(__0__))
' Gets an webcell object
Dim cell As WebCell = sheet.Cells(0,0)
cell.PutValue("Demo Text")
cell.Style.Font.Size = New FontUnit("72pt")
cell.Style.Wrap = False
cell.Style.BackColor = Color.Gray
cell.Style.BorderStyle = BorderStyle.Solid
cell.Style.BorderWidth = New Unit(1, UnitType.Pixel)
cell.Style.BorderColor = Color.Silver
Requirements
Namespace: Aspose.Grid.Web.Data
Assembly: Aspose.Grid.Web (in Aspose.Grid.Web.dll)
See Also
WebCell Members | Aspose.Grid.Web.Data Namespace