[]
        
(Showing Draft Content)

C1.Util.DX.DirectWrite.FontFile

FontFile Class

IDWriteFontFile

Inheritance
FontFile
Implements
Namespace: C1.Util.DX.DirectWrite
Assembly: C1.Win.C1DX.4.8.dll
Syntax
[Guid("739d886a-cef5-47dc-8769-1a8b41bebbb0")]
public class FontFile : ComObject, IDisposable, IUnknown

Constructors

Name Description
FontFile(IntPtr)

Initializes a new instance of the FontFile class.

Properties

Name Description
Loader

Obtains the file loader associated with a font file object.

Methods

Name Description
Analyze(out Bool, out FontFileType, out FontFaceType, out int)

HRESULT IDWriteFontFile::Analyze([Out] BOOL* isSupportedFontType,[Out] DWRITE_FONT_FILE_TYPE* fontFileType,[Out, Optional] DWRITE_FONT_FACE_TYPE* fontFaceType,[Out] unsigned int* numberOfFaces)

Create(Factory, IntPtr, int, FontFileLoader)

Creates a reference to an application-specific font file resource.

Create(Factory, string)

Creates a font file reference object from a local font file.

Create(Factory, string, long?)

Creates a font file reference object from a local font file.

GetLoader()

HRESULT IDWriteFontFile::GetLoader([Out] IDWriteFontFileLoader** fontFileLoader)

GetReferenceKey()

Obtains the reference to the reference key of a font file. The returned reference is valid until the font file object is released.

GetReferenceKey(IntPtr)

HRESULT IDWriteFontFile::GetReferenceKey([Out, Buffer] const void** fontFileReferenceKey,[Out] unsigned int* fontFileReferenceKeySize)

Operators

Name Description
explicit operator FontFile(IntPtr)

Performs an explicit conversion from IntPtr to FontFile.