Back to Devexpress

RichTextRunFont Members

officefileapi-devexpress-dot-spreadsheet-dot-richtextrunfont-dot-underscore-members.md

latest6.7 KB
Original Source

RichTextRunFont Members

Contains font attributes for a rich text run.

Constructors

NameDescription
RichTextRunFont()Initializes a new instance of the RichTextRunFont class with the default settings.
RichTextRunFont(SpreadsheetFont)Initializes a new instance of the RichTextRunFont class with the specified settings.
RichTextRunFont(String, Double, Color)Initializes a new instance of the RichTextRunFont class with the specified settings.
RichTextRunFont(String, Double)Initializes a new instance of the RichTextRunFont class with the specified settings.

Properties

NameDescription
BoldGets or sets a value indicating whether the current text run is formatted as bold.
ColorGets or sets the color of the font applied to the current text run.
FontStyleGets or sets the font style (bold, italic, etc.) applied to the current text run.
ItalicGets or sets a value indicating whether the current text run is formatted as italic.
NameGets or sets the name of the font applied to the current text run.
SchemeStyleGets or sets the scheme of the font applied to the current text run.
ScriptGets or sets whether the current text run is formatted as subscript, superscript, or neither.
SizeGets or sets the size of the font applied to the current text run.
StrikethroughGets or sets a value indicating whether the current text run is formatted as strikethrough.
UnderlineTypeGets or sets the underline type applied to the current text run.

Methods

NameDescription
Equals(SpreadsheetFont, SpreadsheetFont) staticDetermines whether the specified objects are considered equal.
Equals(SpreadsheetFont)Determines whether the specified object is equal to the current RichTextRunFont instance.
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetType()Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines 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

RichTextRunFont Class

DevExpress.Spreadsheet Namespace