Specifies how the PDF document should be displayed when opened in the PDF reader.
Namespace:
Aspose.Words.Saving
Assembly:
Aspose.Words (in Aspose.Words.dll) Version: 20.3
SyntaxPublic Enumeration PdfPageMode
public enum class PdfPageMode
Members|
| Member 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.
|
ExamplesShows how to set the default zooming of an output PDF to 1/4 of default size.
Document doc = new Document(MyDir + "Rendering.docx");
PdfSaveOptions options = new PdfSaveOptions();
options.ZoomBehavior = PdfZoomBehavior.ZoomFactor;
options.ZoomFactor = 25;
options.PageMode = PdfPageMode.UseThumbs;
doc.Save(ArtifactsDir + "PdfSaveOptions.ZoomBehaviour.pdf", options);
See Also