Skip to main content
A newer version of this page is available. .

XlFontBase Members

Serves as a base for the XlFont class and specifies the common font characteristics.

Properties

Name Description
Bold Gets or sets the value indicating whether the cell content is formatted as bold.
Charset Gets or sets the basic set of characters associated with the current font.
Condense Compatibility setting. Gets or sets a value indicating whether the cell font is condensed.
Extend Compatibility setting. Gets or sets a value indicating whether the cell font is extended.
Italic Gets or sets the value indicating whether the cell content is formatted as italic.
Name Gets or sets the name of the font applied to the cell content.
Outline Compatibility setting. Gets or sets the value indicating whether the cell content is formatted as an outline.
SchemeStyle Gets or sets the font scheme for the current font.
Script Formats the cell content as subscript or superscript.
Shadow Compatibility setting. Gets or sets a value indicating whether the cell font is formatted as shadowed.
Size Gets or sets the size of the font applied to the cell content.
StrikeThrough Gets or sets the value indicating whether the cell content is formatted as strikethrough.
Underline Gets or sets the type of underline applied to the cell content.

Methods

Name Description
CopyFrom(XlFontBase) Copies the appropriate properties of the specified object into the current object of the XlFontBase type.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current XlFontBase object.
GetHashCode() Gets the hash code (a number) that corresponds to the value of the current XlFontBase object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also