ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 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 String _
    ) As FontFile
    public static FontFile Create( 
       Factory factory,
       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