Loads a custom font from a custom font collection, using the font name, size and style
passed in parameter.
Declaration Syntax
C# | Visual Basic |
public static Font LoadEmbeddedFont( EmbeddedFontCollection fontCollection, string customFontName, float fontSize, FontStyle fontStyle )
Public Shared Function LoadEmbeddedFont ( _ fontCollection As EmbeddedFontCollection, _ customFontName As String, _ fontSize As Single, _ fontStyle As FontStyle _ ) As Font
Parameters
- fontCollection (EmbeddedFontCollection)
- Custom font collection
- customFontName (String)
- Custom font name
- fontSize (Single)
- Font size
- fontStyle (FontStyle)
- Font style
Return Value
[Missing <returns> documentation for "M:MPfm.WindowsControls.Tools.LoadEmbeddedFont(MPfm.WindowsControls.EmbeddedFontCollection,System.String,System.Single,System.Drawing.FontStyle)"]