ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 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 C1.Util.DX.DirectWrite.Factory.RegisterFontCollectionLoader_(System.IntPtr).
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 C1.Util.DX.DirectWrite.Factory.RegisterFontCollectionLoader_(System.IntPtr).
    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