ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 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.

In This Topic
    Create Method (FontCollection)
    In This Topic
    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