Fonts

Vue de l’ensemble

‘Font’ est une classe dans Aspose.Cells FOSS pour .NET.

Il représente le font.

Cette classe fournit 4 méthodes pour travailler avec des objets de Font dans les programmes .NET. Les méthodologies disponibles comprennent: ‘Equals’, ‘GetHashCode’ et ‘ToString’. Tous les membres publics sont accessibles à n’importe quelle application .Net après l’installation du package .net Aspose.Cells FOSS. Propriétés : ‘ArgbColor’, Colore, ‘DoubleSize’, ‘IsBold’, ‘IsItalic’, ’IsStrikeout` et 3 autres.

Propriétés

NameTypeAccessDescription
NamestringRead/WriteGets or sets the name.
SizedoubleRead/WriteGets or sets the size.
DoubleSizedoubleRead/WriteGets or sets the font size.
UnderlineFontUnderlineTypeRead/WriteGets or sets the font underline type.
IsBoldboolRead/WriteGets or sets a value indicating whether bold.
IsItalicboolRead/WriteGets or sets a value indicating whether italic.
IsStrikeoutboolRead/WriteGets or sets a value indicating whether single strikeout.
ColorColorRead/WriteGets or sets the color.
ArgbColorintRead/WriteGets or sets the color with a 32-bit ARGB value.

méthodes

SignatureDescription
Equals(font: Font)Checks whether this font equals to another font instance.
Equals(obj: object)Determines whether the specified object is equal to the current font instance.
GetHashCode()Serves as a hash function for a font object.
ToString()Returns a string that represents the current font object.

Voir aussi

  • Aspose.Cells pour .NET — Enterprise API Reference
 Français