Gets the typeface having specified font file name.
Namespace: FirstFloor.Documents.FontsAssembly: FirstFloor.Documents (in FirstFloor.Documents.dll) Version: 2.5.0.0 (2.5.1.0)
Syntax
| C# |
|---|
public static bool TryGetTypeface( string fontFileName, out GlyphTypefaceInfo typeface ) |
| Visual Basic |
|---|
Public Shared Function TryGetTypeface ( _ fontFileName As String, _ <OutAttribute> ByRef typeface As GlyphTypefaceInfo _ ) As Boolean |
| Visual C++ |
|---|
public: static bool TryGetTypeface( String^ fontFileName, [OutAttribute] GlyphTypefaceInfo^% typeface ) |
Parameters
- fontFileName
- Type: System..::..String
Name of the font file.
- typeface
- Type: FirstFloor.Documents.Fonts..::..GlyphTypefaceInfo%
The typeface.