Create(Factory,IntPtr,Int32,FontFileLoader) Method
Creates a reference to an application-specific font file resource.
'Declaration
Public Overloads Shared Function Create( _
ByVal As Factory, _
ByVal As System.IntPtr, _
ByVal As System.Integer, _
ByVal As FontFileLoader _
) As FontFile
Parameters
- factory
- A reference to a DirectWrite factory Factory
- fontFileReferenceKey
- A font file reference key that uniquely identifies the font file resource during the lifetime of fontFileLoader.
- fontFileReferenceKeySize
- The size of the font file reference key in bytes.
- fontFileLoader
- The font file loader that will be used by the font system to load data from the file identified by fontFileReferenceKey.