public Font GetFontFromFile( string fontPath, FontEmbeddingMode embeddingMode )
Parameters
- fontPath
- The full pathname that allows to get the Font file.
- embeddingMode
- The FontEmbeddingMode that will be used when using a TrueType(ttf) Font. By default, a Composite Type0 font will be created, offering more flexibility for languages with more than 255 characters. If wanted, a Simple TrueType font can be created with the FontEmbeddingMode.Simple value when the language is using less than 255 characters and is not an Eastern language.
Return Value
The Font found in the file.