Home Features Download Tutorial Version History License PDF Mosaic Blog Source Code
This sample shows how to instruct a PDF viewer to display the document in certain mode.
PDFDocument.PageMode property specifies which additional panels should be shown in a PDF viewer application.
There are the following options:
- None – neither document outline nor thumbnail images visible.
- Outlines – document outline visible.
- Thumbnail – thumbnail images visible.
- FullScreen – full-screen mode, with no menu bar, window controls, or any other window visible.
- OptionalContent – optional content group panel visible.
- Attachment – attachments panel visible.
using PDFMosaic; using System; namespace PageMode { class PageMode { static void Main() { PDFDocument document = new PDFDocument(); document.Pages.Add(new PDFPage(PDFPaperFormat.A4)); document.PageMode = PDFPageMode.FullScreen; document.Save("PageMode.pdf", true); } } }
Home Features Download Tutorial Version History License PDF Mosaic Blog Source Code