Hello,
I'm loading a pdf generared on wcf side with those lines of code
using the provider.Import tooks around 31Seconds for a file of around 1Mb....using the PDFSource loads fast the first page but the other pages are blank.....any suggestion?
Thanks
I'm loading a pdf generared on wcf side with those lines of code
if (e.Error == null)
{
guidPDF = e.Result.Guid;
MemoryStream ms = new MemoryStream(e.Result.Bytes);
pdfViewer.ReportMemoryStream = ms;
DateTime dtStart = DateTime.Now;
// PdfFormatProvider provider = new PdfFormatProvider(ms, Telerik.Windows.Documents.Fixed.FormatProviders.FormatProviderSettings.ReadAllAtOnce);
// this.pdfViewer.Document = provider.Import();
pdfViewer.DocumentSource = new Telerik.Windows.Documents.Fixed.PdfDocumentSource(ms);
TimeSpan ts = dtStart - DateTime.Now;
}
using the provider.Import tooks around 31Seconds for a file of around 1Mb....using the PDFSource loads fast the first page but the other pages are blank.....any suggestion?
Thanks