To create a font object, to be used to write text to the PDF, you need to do the following:
PDFGlobal.FontFileListStart();
PDFGlobal.FontFileListAdd(inst_path + "\\Assets\\font\\your font.ttf");
PDFGlobal.FontFileListEnd();
int face_first = 0;
int face_count = PDFGlobal.GetFaceCount();
String fname = null;
while (face_first < face_count)
{
fname = PDFGlobal.GetFaceName(face_first);
face_first++;
}
PDFDocFont dfont = pdfDoc.NewFontCID(fname, 8);
Note: A premium license is needed for this feature.
RadaeePDF SDK for Windows 10
Created : 2017-10-24 11:17:22, Last Modified : 2017-10-24 11:31:21