GlyphTypefaceInfoTryGetTypeface Method (String, GlyphTypefaceInfo)Document Toolkit Help
Gets the typeface having specified font file name.

Namespace: FirstFloor.Documents.Fonts
Assembly: FirstFloor.Documents (in FirstFloor.Documents.dll) Version: 2.5.0.0 (2.5.11.0)
Syntax

public static bool TryGetTypeface(
	string fontFileName,
	out GlyphTypefaceInfo typeface
)

Parameters

fontFileName
Type: SystemString
Name of the font file.
typeface
Type: FirstFloor.Documents.FontsGlyphTypefaceInfo
The typeface.

Return Value

Type: Boolean
A value indicating whether the typeface was found.
See Also

Reference