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
)
Public Shared Function CreateTrueTypeFont (
doc As SDFDoc,
font_path As String,
embed As Boolean,
subset As Boolean
) As Font
public:
static Font^ CreateTrueTypeFont(
[InAttribute] SDFDoc^ doc,
[InAttribute] String^ font_path,
[InAttribute] bool embed,
[InAttribute] bool subset
)
pdftron.PDF.Font.CreateTrueTypeFont = function(doc, font_path, embed, 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:
FontA newly created font.
See Also