Hello,
I have the following code that loads a PDF :
byte
[] file = File.ReadAllBytes(@
"c:\big.pdf"
);
RadFixedDocument doc =
null
;
var prov =
new
PdfFormatProvider();
using
(var input =
new
MemoryStream())
{
input.Write(file, 0, file.Length);
doc = prov.Import(input);
}
On import I am getting the following exception :
Unable to cast object of type 'Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Types.PdfReal' to type 'Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Types.PdfName'.
I attached the pdf used to this. Could you please let me know what the problem is? (Telerik version used is 2017.1.116.40)
Thank you.