ComponentOne Bitmap for UWP
Create Method (FontCollection)

C1.UWP.DX Assembly > C1.Util.DX.DirectWrite Namespace > FontCollection Class : Create Method
A reference to a DirectWrite factory Factory
An application-defined font collection loader, which must have been previously registered using Factory.RegisterFontCollectionLoader_.
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.
Creates a font collection using a custom font collection loader.
Syntax
'Declaration
 
Public Shared Function Create( _
   ByVal factory As Factory, _
   ByVal collectionLoader As FontCollectionLoader, _
   ByVal collectionKey As DataPointer _
) As FontCollection

Parameters

factory
A reference to a DirectWrite factory Factory
collectionLoader
An application-defined font collection loader, which must have been previously registered using Factory.RegisterFontCollectionLoader_.
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.
See Also

Reference

FontCollection Class
FontCollection Members