public method FontBuilder.FromFile

Brief

Loads a font of a specified size from a TTF or AFM font file.

Declaration
C#
Gehtsoft.PDFFlow.Builder.FontBuilder  FromFile (string path, System.Single size)

Parameters
path

A path to the font file.
To load a Type1 font, its AFM and PFB files must be located in the same folder.

size

The font size.

Declared in FontBuilder

back