'Declaration Public Overloads Shared Function FromFile( _ ByVal path As System.String, _ Optional ByVal initCodeMap As System.Boolean _ ) As Font
public static Font FromFile( System.string path, System.bool initCodeMap )
Parameters
- path
- The path to the file containing the font data.
- initCodeMap
- Set this parameter to True if you're planning to add the font to the fallback font collection.
Return Value
The newly created font, or null if the file did not contain any fonts.