WebCell

WebCell class

[Obsolete("This class is obsolete; use  GridCell instead")]
public class WebCell

Properties

Name Description
Column { get; } Gets the column number of the cell.
Formula { get; set; } Gets or sets the formula string of the cell. Returns null when the cell doesn’t contain a formula.
IsReadonly { get; set; } Gets or sets whether the cell is readonly.this is an extended attribute of GridWeb ,it will not keep in actual excel file
Name { get; }
Row { get; } Gets the row number of the cell.
StringValue { get; set; }
UnformattedStringValue { get; } Gets the unformatted string value.
Validation { get; set; }
Value { get; set; }

Methods

Name Description
CreateValidation(ValidationType, bool) Creates a validation object for a cell.
GetStyle()
PutValue(bool) Puts a boolean value into the cell.
PutValue(DateTime) Puts a DateTime value into the cell.
PutValue(double) Puts a double value into the cell.
PutValue(int) Puts a int value into the cell.
PutValue(object) Puts an object value into the cell.same as setValue(Object param_object)
PutValue(string) Puts a String value into the cell.
PutValue(string, bool) Puts a string value into the cell and converts the value to other data type if appropriate.
PutValue(string, bool, bool) Puts a value into the cell, if appropriate the value will be converted to other data type and cell’s number format will be reset.
PutValueAndSetFormatByValue(string) Sets the cell’s value with a string value and set cell format by this value.
SetStyle(TableItemStyle)

Remarks

NOTE: This class is now obsolete. please use GridCell Instead. This class will be removed after 6 months since Aug. 2014. Aspose apologizes for any inconvenience you may have experienced.

See Also