Back to Devexpress

DXFontRepository Members

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

latest3.7 KB
Original Source

DXFontRepository Members

A repository of user-defined fonts.

Properties

NameDescription
Instance staticReturns an instance of the DXFontRepository class.
IsEmptyIndicates whether the font repository is empty.

Methods

NameDescription
AddFont(Byte[])Loads a font from a byte array.
AddFont(Stream)Loads a font from a stream.
AddFont(String)Loads a font from a file.
Clear()Removes all fonts from the font repository.
Dispose()Releases resources associated with the DXFontRepository 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.
GetFonts()Returns a list of all fonts in DXFontRepository.
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.

Events

NameDescription
QueryNotFoundFont staticOccurs if a document requires a font that is not available in the hosting environment.

See Also

DXFontRepository Class

DevExpress.Drawing Namespace