Output the current view (as seen in the control) to an image.
If DrawSelection is true, all visible selections are output (selected text and active page, annotions or objects).
// Draw the current view to another TImageEnView ImageEnView1.PdfViewer.DrawViewTo( ImageEnView2.IEBitmap ); ImageEnView2.Update();
// Save the current view as a screenshot bmp := TIEBitmap.Create; ImageEnView1.PdfViewer.DrawViewTo( bmp ); bmp.SaveToFile('D:\pdfview.jpeg'); bmp.Free;