Back to Devexpress

DXFont Members

corelibraries-devexpress-dot-drawing-dot-dxfont-dot-underscore-members.md

latest5.4 KB
Original Source

DXFont Members

Contains the text format settings such as font size and style.

Constructors

NameDescription
DXFont(DXFont, DXFontStyle)Initializes a new instance of the DXFont class with specified settings.
DXFont(String, Single, DXFontStyle, DXGraphicsUnit, DXFontAdditionalProperty[])Initializes a new instance of the DXFont class with specified settings.
DXFont(String, Single, DXFontStyle, DXGraphicsUnit)Initializes a new instance of the DXFont class with specified settings.
DXFont(String, Single, DXFontStyle)Initializes a new instance of the DXFont class with specified settings.
DXFont(String, Single)Initializes a new instance of the DXFont class with specified settings.

Properties

NameDescription
BoldGets a value that indicates whether the font is bold.
HeightObtains the font height.
ItalicGets a value that indicates whether the italic style is applied to the font.
NameGets the font name.
SizeGets the size of the font in units defined by the DXFont.Unit property.
SizeInPointsGets the size of the font in points.
StrikeoutGets a value that indicates whether the font has a horizontal line through it.
StyleReturns style information applied to the font.
UnderlineGets a value that indicates whether the font is underlined.
UnitObtains the font measurement unit.

Methods

NameDescription
Clone()Creates a copy of the DXFont instance.
Equals(DXFont)Determines whether the specified DXFont object is equal to the current DXFont 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 DXFont instance.
GetHashCode()Gets the hash code for DXFont.
GetHeight(DXGraphicsUnit)Gets the font’s line spacing in the specified graphics units.
GetHeight(Single)Gets the font’s line spacing in pixels when drawn on a device with the specified DPI.
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 specifies `DXFont’.

See Also

DXFont Class

DevExpress.Drawing Namespace