[]
Creates a font collection using a custom font collection loader.
public static FontCollection Create(Factory factory, FontCollectionLoader collectionLoader, DataPointer collectionKey)
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. |
Type | Description |
---|---|
FontCollection |