I use Amyuni Creator V6.5 (Evaluation):
When I open a pdf document and want to know the fonts used in the document I always get an empty array.
But when I open the same document with Amyuni PDF Creator User Interface (PDFCreactiveDoc.exe)
and look at Document Settings / Fonts there are some fonts listed. What am I doing wrong?
Here is my code in C#.
Code: Select all
PDFCreactiveX pdf = new PDFCreactiveX();
pdf.SetLicenseKey(PDF_V65_Company, PDF_V65_LicenseKey);
ret = pdf.Open(filename, password);
if(ret > 0)
{
var doc = pdf.Document;
var fonts = doc["Fonts"];
// fonts is always an empty array. ({Object[0]}
}