Creates a font file reference object from a local font file.
シンタックス
'宣言
Public Overloads Shared Function Create( _
ByVal As Factory, _
ByVal As System.String, _
ByVal As System.Nullable(Of Long) _
) As FontFile
public static FontFile Create(
Factory ,
System.string ,
System.Nullable<long>
)
パラメータ
- 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.
- lastWriteTime
- The last modified time of the input file path. If the parameter is omitted, the function will access the font file to obtain its last write time. You should specify this value to avoid extra disk access. Subsequent operations on the constructed object may fail if the user provided lastWriteTime doesn't match the file on the disk.
参照