将 TXTextControl 导出为 PDFA 或 XML 时出错

Error while exporting TXTextControl as PDFA or XML

我遇到一个奇怪的错误:'This feature is not available in the TX Text Control Standard or Professional version. The TX Text Control Enterprise version must be installed.' 当我尝试使用 .Save 函数以 .pdfa、.xml 和其他格式保存 TXTextControl 对象时。当我在 .Save 函数中显式显示 StreamType 参数时出现错误。 TXTextControl 提供的格式我好像没有。

错误出现在这一行例如:

TXTextControl.Save(dir, TXTextControl.StreamType.XMLFormat)

TXTextControl.Save(dir, TXTextControl.StreamType.AdobePDFA)

我在网上搜索过,但找不到关于此错误的参考资料以及 TXTextControl 企业版或专业版的参考资料。

居然有不同版本的TXTextControl?如何验证我拥有的版本?

谢谢。

使用 TXTextControl.GetVersionInfo()。Level 应该会告诉您您的级别(根据 ProductLevel property

如果您查看 Features page 并打开 "Features in Detail" 下的支持格式部分,那么您可以看到您的产品级别支持哪些格式。