IFontManagerImplTryCreateGlyphTypeface(Stream, FontSimulations, IGlyphTypeface) Method

Tries to create a glyph typeface from specified stream.

Definition

Namespace: Avalonia.Platform
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
bool TryCreateGlyphTypeface(
	Stream stream,
	FontSimulations fontSimulations,
	out IGlyphTypeface?? glyphTypeface
)

Parameters

stream  Stream
A stream that holds the font's data.
fontSimulations  FontSimulations
Specifies algorithmic style simulations.
glyphTypeface  IGlyphTypeface
The created glyphTypeface

Return Value

Boolean
True, if the IFontManagerImpl could create the glyph typeface, False otherwise.

See Also