Class LocalFontFileLoader
- Namespace
- SharpDX.DirectWrite
- Assembly
- SharpDX.Direct2D1.dll
[Guid("b2d9f3ec-c9fe-4a11-a2ec-d86208f7c0a2")]
public class LocalFontFileLoader : FontFileLoaderNative, FontFileLoader, IUnknown, ICallbackable, IDisposable
- Inheritance
-
LocalFontFileLoader
- Implements
-
IUnknownICallbackable
- Inherited Members
Constructors
LocalFontFileLoader(nint)
public LocalFontFileLoader(nint nativePtr)
Parameters
nativePtr
nint
Methods
GetFilePath(DataPointer)
Obtains the absolute font file path from the font file reference key.
public string GetFilePath(DataPointer referenceKey)
Parameters
referenceKey
DataPointerThe font file reference key that uniquely identifies the local font file within the scope of the font loader being used.
Returns
- string
If this method succeeds, the absolute font file path from the font file reference key.
GetLastWriteTime(DataPointer)
Obtains the last write time of the file from the font file reference key.
public DateTime GetLastWriteTime(DataPointer referenceKey)
Parameters
referenceKey
DataPointerThe font file reference key that uniquely identifies the local font file within the scope of the font loader being used.
Returns
- DateTime
The time of the last font file modification.
Operators
explicit operator LocalFontFileLoader(nint)
public static explicit operator LocalFontFileLoader(nint nativePtr)
Parameters
nativePtr
nint