We are currently implementing a feature to rotate individual pages using Merger 7.X and Viewer 1.x.
The idea is to hit a Rotate Left/Right button and the selected PDF page rotates without having to re-open the entire file.
A PDF file is loaded into an array of bytes
byte PDF_Bytes = new byte[fileStream.Length];
A page is rotated using Merger 7.X, then array PDF_Bytes is updated.
What is the best way to reload PDF_Bytes into the viewer?
ceTe.DynamicPDF.Viewer.PdfDocument x = new ceTe.DynamicPDF.Viewer.PdfDocument(PDF_Bytes);
pdfViewer1.Open(x); //open from memory
causes the entire dialog to flicker.
Thanks
Open updated pdf file without flickering
Re: Open updated pdf file without flickering
Support · Jun 3, 2014Hello,
Open() method is the only way to reload the PDF. When the Open() method is called the Viewer control will refresh or flicker which is expected as it has to load the updated PDF.
Thanks,
ceTe Software Support Team.