ExcelFont Class |
Namespace: Spire.Xls
The ExcelFont type exposes the following members.
| Name | Description | |
|---|---|---|
|
|
Color |
Returns or sets the primary color of the font.
|
|
|
FontName |
Returns or sets the font name. Read / write string.
|
|
|
IsAutoColor |
Indicates whether color is automatically selected. Read-only.
|
|
|
IsBold |
True if the font is bold.
|
|
|
IsItalic |
True if the font style is italic. Read / write Boolean.
|
|
|
IsStrikethrough |
True if the font is struck through with a horizontal line.
Read / write Boolean
|
|
|
IsSubscript |
True if the font is formatted as subscript.
False by default. Read / write Boolean.
|
|
|
IsSuperscript |
True if the font is formatted as superscript. False by default.
Read/write Boolean
|
|
|
KnownColor |
Returns or sets the primary excel color of the object.
|
|
|
Parent |
Gets the parent object of the current instance.
|
|
|
Size |
Returns or sets the size of the font. Read / write integer.
|
|
|
StrikethroughType |
Gets or sets the strikethrough type.
|
|
|
Underline |
Returns or sets the type of underline applied to the font.
|
|
|
VerticalAlignment |
Gets / sets font vertical alignment.
|
| Name | Description | |
|---|---|---|
|
|
BeginUpdate |
Begins a update on the font.
|
|
|
EndUpdate |
Ends the update process of the font.
|
|
|
Equals |
Determines whether the specified object is equal to the current object.
(Inherited from
Object
.)
|
|
|
Finalize |
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from
Object
.)
|
|
|
GenerateNativeFont |
Generates system font object.
|
|
|
GetHashCode |
Serves as the default hash function.
(Inherited from
Object
.)
|
|
|
GetThemeColor |
Get the theme color.
|
|
|
GetType |
Gets the
Type
of the current instance.
(Inherited from
Object
.)
|
|
|
MemberwiseClone |
Creates a shallow copy of the current
Object
.
(Inherited from
Object
.)
|
|
|
SetThemeColor |
Set the theme color.
|
|
|
ToString |
Returns a string that represents the current object.
(Inherited from
Object
.)
|