Click or drag to resize

FontCreateTrueTypeFont Method (SDFDoc, String, Boolean, Boolean)

Creates the true type font.

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public static Font CreateTrueTypeFont(
	SDFDoc doc,
	string font_path,
	bool embed,
	bool subset
)

Parameters

doc
Type: pdftron.SDFSDFDoc
The PDF document.
font_path
Type: SystemString
The path to the external font file.
embed
Type: SystemBoolean
If the font will be embedded.
subset
Type: SystemBoolean
If the font will be subsetted.

Return Value

Type: Font
A newly created font.
See Also