Hi, when I try to display a PDF file with Syncfusion Pdfviewer, I've just white pages displayed.
Here's my code(I also put my project in the attachment file):
var picker = new FileOpenPicker();
picker.SuggestedStartLocation = PickerLocationId.DocumentsLibrary;
picker.ViewMode = PickerViewMode.List;
picker.FileTypeFilter.Add(".pdf");
var file = await picker.PickSingleFileAsync();
if (file == null) return;
var stream = await file.OpenAsync(Windows.Storage.FileAccessMode.Read);
Stream fileStream = stream.AsStreamForRead();
byte[] buffer = new byte[fileStream.Length];
fileStream.Read(buffer, 0, buffer.Length);
PdfLoadedDocument ldoc = new PdfLoadedDocument(buffer);
pdfViewer.LoadDocument(ldoc);
My code is exactly the same as in the sample code, so I really don't know what is the problem.
Could you help me please?
Thank you very much.
GappTestPdfViewer_9a46f2e1.zip