Table of Contents

Class Font3

Namespace
SharpDX.DirectWrite
Assembly
SharpDX.Direct2D1.dll
[Guid("29748ED6-8C9C-4A6A-BE0B-D912E8538944")]
public class Font3 : Font2
Inheritance
Font3
Inherited Members

Constructors

Font3(nint)

public Font3(nint nativePtr)

Parameters

nativePtr nint

Properties

FontFaceReference

Gets a font face reference that identifies this font.

public FontFaceReference FontFaceReference { get; }

Property Value

FontFaceReference

Locality

Gets the current locality of the font.

public Locality Locality { get; }

Property Value

Locality

Remarks

For fully local files, the result will always be DWRITE_LOCALITY_LOCAL. A downloadable file may be any of the states, and this function may change between calls.

Methods

CreateFontFace(out FontFace3)

Creates a font face object for the font.

public void CreateFontFace(out FontFace3 fontFace)

Parameters

fontFace FontFace3

A reference to a memory block that receives a reference to a FontFace3 interface for the newly created font face object.

Equals(Font)

Compares two instances of font references for equality.

public RawBool Equals(Font font)

Parameters

font Font

A reference to a Font interface for the other font instance to compare to this font instance.

Returns

RawBool

Returns whether the two instances of font references are equal. Returns TRUE if the two instances are equal; otherwise, SharpDX.Result.False.

HasCharacter(int)

No documentation.

public RawBool HasCharacter(int unicodeValue)

Parameters

unicodeValue int

No documentation.

Returns

RawBool

No documentation.

Operators

explicit operator Font3(nint)

public static explicit operator Font3(nint nativePtr)

Parameters

nativePtr nint

Returns

Font3