WPF无法转换类型为'Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Types.PdfLiteralString'的对象

时间:2018-07-05 13:56:16

标签: wpf

我正在使用Telerik RADPDFfixedDcoument来开发WPF

我在以下代码上收到无效的强制转换错误

var file = new FileStream(_physicalpath, FileMode.Open, FileAccess.Read);

RadFixedDocument documentX = new PdfFormatProvider().Import(file);// this line throws error
  

错误:无法转换类型的对象   'Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Types.PdfLiteralString'   输入   “ Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Elements.Destinations.DestinationObject”。

1 个答案:

答案 0 :(得分:0)

Telerik尚不支持PDF中的命名目的地。