Skip to main content
All docs
V24.2

DXFontRepository Members

A repository of user-defined fonts.

Properties

Name Description
Instance static Returns an instance of the DXFontRepository class.
IsEmpty Indicates whether the font repository is empty.

Methods

Name Description
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) 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 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() 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.

Events

Name Description
QueryNotFoundFont static Occurs if a document requires a font that is not available in the hosting environment.
See Also