[]
        
(Showing Draft Content)

C1.Util.DX.DirectWrite.FontCollection.Create

Create Method

Create(Factory, FontCollectionLoader, DataPointer)

Creates a font collection using a custom font collection loader.

Declaration
public static FontCollection Create(Factory factory, FontCollectionLoader collectionLoader, DataPointer collectionKey)
Parameters
Type Name Description
Factory factory

A reference to a DirectWrite factory Factory

FontCollectionLoader collectionLoader

An application-defined font collection loader, which must have been previously registered using C1.Util.DX.DirectWrite.Factory.RegisterFontCollectionLoader_(System.IntPtr).

DataPointer collectionKey

The key used by the loader to identify a collection of font files. The buffer allocated for this key should at least be the size of collectionKeySize.

Returns
Type Description
FontCollection