ComponentOne Bitmap for WPF
Create(Factory,String) Method

C1.WPF.DX.4 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.
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

Reference

FontFile Class
FontFile Members
Overload List