Table of Contents

Class FontList

Namespace
SharpDX.DirectWrite
Assembly
SharpDX.Direct2D1.dll
[Guid("1a0d8438-1d97-4ec1-aef9-a2fb86ed6acb")]
public class FontList : ComObject
Inheritance
FontList
Derived

Constructors

FontList(nint)

public FontList(nint nativePtr)

Parameters

nativePtr nint

Properties

FontCollection

Gets the font collection that contains the fonts in the font list.

public FontCollection FontCollection { get; }

Property Value

FontCollection

FontCount

Gets the number of fonts in the font list.

public int FontCount { get; }

Property Value

int

Methods

GetFont(int)

Gets a font given its zero-based index.

public Font GetFont(int index)

Parameters

index int

Zero-based index of the font in the font list.

Returns

Font

When this method returns, contains the address of a reference to the newly created Font object.

Operators

explicit operator FontList(nint)

public static explicit operator FontList(nint nativePtr)

Parameters

nativePtr nint

Returns

FontList