FontWrapper Class |
Namespace: Spire.Xls.Core.Spreadsheet
The FontWrapper type exposes the following members.
| Name | Description | |
|---|---|---|
|
|
FontWrapper |
Creates new font wrapper.
|
|
|
FontWrapper(XlsFont) |
Creates new font wrapper.
|
|
|
FontWrapper(XlsFont, Boolean, Boolean) |
Creates new font wrapper.
|
| Name | Description | |
|---|---|---|
|
|
BeginCallsCount |
Returns number of begin update calls that have no corresponding end update. Read-only.
(Inherited from
CommonWrapper
.)
|
|
|
Color |
Returns or sets the primary color of the font.
|
|
|
Font |
Returns internal font.
|
|
|
FontIndex |
Gets the index of the font.
|
|
|
FontName |
Returns or sets the font name. Read / write string.
|
|
|
Index |
Returns index of the font. Read-only.
|
|
|
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.
|
|
|
IsReadOnly |
Indicates whether font is read-only.
|
|
|
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.
|
|
|
MacOSOutlineFont |
True if the font is an outline font. Read / write Boolean.
|
|
|
MacOSShadow |
True if the font is a shadow font or if the object has
a shadow. Read / write Boolean.
|
|
|
Parent |
Gets the parent object of the font.
|
|
|
Size |
Returns or sets the size of the font. Read / write integer.
|
|
|
StrikethroughType |
Gets or sets the strikethrough type of the font.
|
|
|
Underline |
Returns or sets the type of underline applied to the font.
|
|
|
VerticalAlignment |
Gets / sets font vertical alignment.
|
|
|
Workbook |
Returns workbook.
|
| Name | Description | |
|---|---|---|
|
|
BeginUpdate |
Begins the update process for the control.
(Overrides
CommonWrapper
BeginUpdate
.)
|
|
|
Clone(Object) |
Creates a copy of the current object.
(Inherited from
CommonWrapper
.)
|
|
|
Clone(XlsWorkbook, Object, IDictionary) |
Obsolete.
Clones the current FontWrapper object.
|
|
|
ColorObjectUpdate |
Updates the color of the object by copying the font color to the object's color.
|
|
|
EndUpdate |
Ends the update process and raises the AfterChangeEvent event.
(Overrides
CommonWrapper
EndUpdate
.)
|
|
|
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 .Net font object corresponding to the current font.
|
|
|
GetHashCode |
Serves as the default hash function.
(Inherited from
Object
.)
|
|
|
GetThemeColor |
Get the foreground 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 foreground theme color.
|
|
|
ToString |
Returns a string that represents the current object.
(Inherited from
Object
.)
|
| Name | Description | |
|---|---|---|
|
|
AfterChangeEvent |
Event raised after wrapped font changed.
|