PdfPageMode Enum
Wordize.Saving.PdfPageMode enum. Specifies how the PDF document should be displayed when opened in the PDF reader.
PdfPageMode enumeration
Specifies how the PDF document should be displayed when opened in the PDF reader.
public enum PdfPageMode
Values
Name | Value | Description |
---|---|---|
UseNone | 0 | Neither document outline nor thumbnail images are visible. |
UseOutlines | 1 | Document outline is visible. Note that if there’re no outlines in the PDF document then outline navigation pane will not be visible anyway. |
UseThumbs | 2 | Thumbnail images are visible. |
FullScreen | 3 | Full-screen mode, with no menu bar, window controls, or any other window visible. |
UseOC | 4 | Optional content group panel is visible. |
UseAttachments | 5 | Attachments panel is visible. |
Examples
Shows how to configure page mode in PDF.
PdfSaveOptions pdfSaveOptions = new PdfSaveOptions();
pdfSaveOptions.PageMode = PdfPageMode.UseThumbs;
Converter.Create()
.From(MyDir + "TestSpliter.docx")
.To(ArtifactsDir + "PdfSaveOptions.PageMode.pdf", pdfSaveOptions)
.Execute();
See Also
- namespace Wordize.Saving
- assembly Wordize