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

NameTypeAccessDescription
Valueobject?Read/WriteGets or sets the raw value of the cell as an object
StringValuestringReadGets the cell’s value as a string representation
DisplayStringValuestringReadGets the formatted string shown in the UI
FormulastringRead/WriteGets or sets the cell’s formula expression
TypeCellValueTypeReadGets the enumeration indicating the cell’s value type

méthodes

SignatureDescription
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
 Français