[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.DirectWrite.IFontCollectionLoader

Interface IFontCollectionLoader

Namespace
GrapeCity.Documents.DX.DirectWrite
Assembly
GcDocs.DX.Windows.dll

IDWriteFontCollectionLoader

[Guid("cca920e4-52f0-492b-bfa8-29c72ee0a468")]
[Shadow(typeof(FontCollectionLoaderShadow))]
public interface IFontCollectionLoader : ICallbackable, IDisposable
Inherited Members
System.IDisposable.Dispose()

Methods

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.

IFontFileEnumerator CreateEnumeratorFromKey(Factory factory, DataPointer collectionKey)

Parameters

factory Factory

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

collectionKey DataPointer

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

IFontFileEnumerator

a reference to the newly created font file enumerator.