ComponentOne Bitmap for UWP
C1.UWP.DX Assembly / C1.Util.DX.DirectWrite Namespace / FontFile Class / Create Method / Create(Factory,String) Method
A reference to a DirectWrite factory Factory
An array of characters that contains the absolute file path for the font file. Subsequent operations on the constructed object may fail if the user provided filePath doesn't correspond to a valid file on the disk.

In This Topic
    Create(Factory,String) Method
    In This Topic
    Creates a font file reference object from a local font file.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Create( _
       ByVal factory As Factory, _
       ByVal filePath As System.String _
    ) As FontFile
    public static FontFile Create( 
       Factory factory,
       System.string filePath
    )

    Parameters

    factory
    A reference to a DirectWrite factory Factory
    filePath
    An array of characters that contains the absolute file path for the font file. Subsequent operations on the constructed object may fail if the user provided filePath doesn't correspond to a valid file on the disk.
    See Also