The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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
KMKarthik 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
IRIvan Rendulic replied to Karthik M April 4, 2018 10:11 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.