[]
        
(Showing Draft Content)

GrapeCity.Documents.Imaging.Windows.FontCache

FontCache Class

Collects DirectWrite fonts for using in various GcDXGraphicss.

Inheritance
FontCache
Implements
Namespace: GrapeCity.Documents.Imaging.Windows
Assembly: DS.Documents.Imaging.Windows.dll
Syntax
public class FontCache : IDisposable
Public Class FontCache
    Implements IDisposable

Constructors

Name Description
FontCache()

Initializes an instance of the FontCache class.

FontCache(Factory1)

Initializes an instance of the FontCache class.

Properties

Name Description
DWFactory

Gets an instance of the GrapeCity.Documents.DX.DirectWrite.Factory1 class.

Methods

Name Description
AddRef()

Increments the internal reference counter to prevent disposing the auto-created font cache.

Clear()

Clears the font cache.

Dispose()

Clean up any resources being used.

Dispose(bool)

Performs cleanup operations on managed and unmanaged resources.

GetFontFace(Font)

Gets an instance of the GrapeCity.Documents.DX.DirectWrite.FontFace for a given Font.