Skip to content
This repository has been archived by the owner on Aug 2, 2019. It is now read-only.

Renderer shows empty pages if the document is larger than 30 pages #179

Open
DStreichert opened this issue Oct 17, 2018 · 0 comments
Open

Comments

@DStreichert
Copy link

DStreichert commented Oct 17, 2018

If the document is larger than 30 pages, the first pages will be blank or white.
When I look at the file in another viewer, the first pages are definitely not empty.

This my XAML:
<ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto" Margin="5">
<WindowsFormsHost>
<pdfiumViewer:PdfRenderer x:Name="pdfviewer" Enabled="True" Visible="True" />
</WindowsFormsHost>
</ScrollViewer>
and the code that load:
this.pdfviewer.Load(PdfiumViewer.PdfDocument.Load(this.tempFile));

What could I do wrong and how could I correct it?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant