[]
        
(Showing Draft Content)

C1.Util.DX.DirectWrite.FontCollectionLoader.CreateEnumeratorFromKey

CreateEnumeratorFromKey Method

CreateEnumeratorFromKey(Factory, DataPointer)

Creates a font file enumerator object that encapsulates a collection of font files. The font system calls back to this interface to create a font collection.

Declaration
FontFileEnumerator CreateEnumeratorFromKey(Factory factory, DataPointer collectionKey)
Parameters
Type Name Description
Factory factory

Pointer to the Factory object that was used to create the current font collection.

DataPointer collectionKey

A font collection key that uniquely identifies the collection of font files within the scope of the font collection loader being used. The buffer allocated for this key must be at least the size, in bytes, specified by collectionKeySize.

Returns
Type Description
FontFileEnumerator

a reference to the newly created font file enumerator.