Switching between single and multi page view |
Please note that application of the options described in this section depend on the initial set up explained here.
This example will open viewer in multi-page view mode.
ViewerType has a default value of PdfViewer.ViewerTypes.MultiPageViewerMulti.
using PdfViewer = Terminalworks.PdfViewer.AspNetCore; var options = new PdfViewer.Options { ViewerType = PdfViewer.ViewerTypes.MultiPageViewer };
This example will open viewer in single-page view mode, which means it will show one page at a time.
using PdfViewer = Terminalworks.PdfViewer.AspNetCore; var options = new PdfViewer.Options { ViewerType = PdfViewer.ViewerTypes.SinglePageViewer };