Cellule
Vue de l’ensemble
« Cell » est une classe dans Aspose.Cells pour NET.
Cell.PutValue définit la valeur de la cellule à la ronde donnée.
Description
‘Cell’ est une classe dans la bibliothèque Aspose.Cells FOSS pour .NET qui expose 14 méthodes et 5 propriétés pour l’utilisation programmée.
La classe fournit également la propriété de StringValue (j’attre la valeur de la cellule comme représentation d’une ligne), la propiété d’DisplayString Value(j’attra la barre formée affichée dans le ui), l’actif de Type (jeattrait l’enumeration indiquant le type de valeur du cellulaire).
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
Value | object? | Read/Write | Gets or sets the raw value of the cell as an object |
StringValue | string | Read | Gets the cell’s value as a string representation |
DisplayStringValue | string | Read | Gets the formatted string shown in the UI |
Formula | string | Read/Write | Gets or sets the cell’s formula expression |
Type | CellValueType | Read | Gets the enumeration indicating the cell’s value type |
méthodes
| Signature | Description |
|---|---|
PutValue(value: string) | Sets the cell’s value to the given string |
PutValue(value: int) | Sets the cell’s value to the given integer. |
PutValue(value: decimal) | Sets the cell’s value to the given decimal number. |
PutValue(value: double) | Sets the cell’s value to the given double-precision number. |
PutValue(value: bool) | Sets the cell’s value to the given boolean. |
PutValue(value: DateTime) | Sets the cell’s value to the given date/time. |
GetStyle() | Returns the cell’s current style object |
SetStyle(style: Style) | Applies the specified style to the cell |
Voir aussi
- Aspose.Cells pour .NET — Enterprise API Reference