Unplanned
Last Updated: 21 Oct 2016 09:31 by ADMIN
ADMIN
Hristo
Created on: 16 Aug 2016 12:17
Category: PdfViewer
Type: Bug Report
0
FIX. RadPdfViewer - incorrect page layout if one scrolls the control very quickly before all of the pages have rendered
Workaround: 

public Form1()
{
    InitializeComponent();

    string pdfFilePath = Path.Combine(Application.StartupPath, "testfile1.pdf");
    radPdfViewer1.LoadDocument(pdfFilePath);

    this.radPdfViewer1.PdfViewerElement.VScrollBar.ValueChanged+=VScrollBar_ValueChanged;
}

private void VScrollBar_ValueChanged(object sender, EventArgs e)
{
    this.radPdfViewer1.PdfViewerElement.InvalidatePages();
}
0 comments