[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.DirectWrite.FontList

Class FontList

Namespace
GrapeCity.Documents.DX.DirectWrite
Assembly
GcDocs.DX.Windows.dll

IDWriteFontList

[Guid("1a0d8438-1d97-4ec1-aef9-a2fb86ed6acb")]
public class FontList : ComObject, IDisposable, IUnknown
Inheritance
object
FontList
Implements
System.IDisposable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

FontList(IntPtr)

Initializes a new instance of the FontList class.

public FontList(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Methods

GetFont(int)

HRESULT IDWriteFontList::GetFont([In] unsigned int index,[Out] IDWriteFont** font)

public Font GetFont(int index)

Parameters

index int

Returns

Font

GetFontCollection()

HRESULT IDWriteFontList::GetFontCollection([Out] IDWriteFontCollection** fontCollection)

public FontCollection GetFontCollection()

Returns

FontCollection

GetFontCount()

unsigned int IDWriteFontList::GetFontCount()

public int GetFontCount()

Returns

int

Operators

explicit operator FontList(IntPtr)

Performs an explicit conversion from System.IntPtr to FontList.

public static explicit operator FontList(IntPtr nativePointer)

Parameters

nativePointer System.IntPtr

Returns

FontList