我想做一个自动查找字体的应用程序。
因此,我尝试使用 Acrobat SDK 从 PDF 文本中获取字体和字体大小。
我检查了样品和文件,但找不到。
CAcroPDDoc pdDoc = new AcroPDDocClass();
pdDoc.Open(filename);
Object jsObj = pdDoc.GetJSObject();
Type T = jsObj.GetType();
// no idea for getting font and font size...
我的工具:Visual Studio、C#、Acrobat DC、Acrobat DC SDK
此致