CG
Carlos Guanes
November 7, 2009 06:57 PM UTC
Also I'm trying to setup the viewerpreference to PdfPageLayout.SinglePage but it actually always open as OneColumn, is this a bug? I'm using 7.2.0.20.
Thanks
Carlos
KM
Karthik M
Syncfusion Team
November 10, 2009 08:12 AM UTC
Hi Carlos,
Thank you for using Essential PDF.
We need to set the PageMode property of the ViewerPreferences to
'UseOutline' to make the bookmarks displayed by default.
[Codesnippet]
PdfDocument document = new PdfDocument();
document.ViewerPreferences.PageMode = PdfPageMode.UseOutlines;
This is not an issue with our library, basically the "PdfPageLayout.SinglePage" is the default pagelayout of the pdf document which will display the one page at a time.
Please try this and let us know if you have any questions.
Best Regards,
Karthik