C1.Win.C1DX.4.8 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
 

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