Joined: Mon Sep 14, 2009 8:59 pm Posts: 1
|
Hi, I cannot find example/way how to display loaded pdf file in C#.
I am using PdfDocument doc = PdfReader.Open
the doc object is reading properly the file but I don;t know how to display it in the WinForm windows. I created
PdfSharp.Forms.PagePreview pagePreview; //as a class attribute
//in constructor I added this.pagePreview = new PdfSharp.Forms.PagePreview(); this.Controls.Add(this.pagePreview); this.pagePreview.PageSize = PageSizeConverter.ToSize(PageSize.A4);
Now I see a white paper but how to put there a loaded file ? Is it possible ?
|
|