Last Updated: 27 Oct 2021 13:34 by ADMIN
Created on: 27 Oct 2021 12:16
Category: PDFViewer
Type: Bug Report
PdfViewer: Missing pages content when exporting PdfViewer to image using RenderTargetBitmap

While all the pages and components of the control are rendered on the image, the content is completely missing from it. The issue is a regression caused by the migration of the model and its async rendering introduced in R3 2020.

Workaround: Fallback to the old rendering engine:

  • Changing the default behavior:

 this.pdfViewer.DefaultImportSettings.UseOldRendering = true;

  • Setting the property to the format provider used to show the document:

PdfImportSettings settings = PdfImportSettings.ReadOnDemand;
settings.UseOldRendering = true;