Click or drag to resize

FontCreateCIDTrueTypeFont Method (SDFDoc, String, Boolean, Boolean, FontEncoding, Int32)

Creates the cid true type font.

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

Parameters

doc
Type: pdftron.SDFSDFDoc
the doc
font_path
Type: SystemString
the font_path
embed
Type: SystemBoolean
the embed
subset
Type: SystemBoolean
the subset
encoding
Type: pdftron.PDFFontEncoding
the encoding
ttc_font_index
Type: SystemInt32
for TTC fonts the index of the actual font to use

Return Value

Type: Font
the font
See Also