PageMode property (IEpnPdfOptions)

Visual Basic example

Visual C++ example

 

Syntax

PDFPageModeConstants PageMode;

Overview

Refer to Saving PDF Document Files.

Remarks

Gets or sets the display mode of PDF documents when they are initially opened. Possible values are:

Value

Meaning

PDF_PAGE_MODE_PAGEONLY

Show only pages when a PDF document is opened. This is the default value.

PDF_PAGE_MODE_BOOKMARKS_AND_PAGES

Show both pages and the Bookmark tab when a PDF document is opened.

PDF_PAGE_MODE_THUMBNAILS_AND_PAGES

The PDF document is opened with the window control and the Thumbnails tab.

PDF_PAGE_MODE_FULLSCREEN

Show the opened PDF document, in full screen mode.

Support for Basic functionality must be unlocked by calling the UnlockSupport method before using this method.

This property is used to configure the PDF document properties.

To update the value of this property with the currently used setting, call the GetPrinterSaveOptions method.

To update the PDF document properties, set this property and the other IEpnPdfOptions properties accessed by the PDFOptions property and call the SetPrinterSaveOptions method.

See Also

Elements:

Version property, LevelMajor property, LevelMinor property, Title property, Subject property, Author property, Keywords property, CompressedDocuments property, CompressedImages property, Factor property, PageLayout property, Magnification property, CustomMag property, StartPage property, CountPages property, ShowToolbar property, ShowMenu property, ShowWindowControl property, Protect property, Method property, UserPassword property, OwnerPassword property, Copy property, Edit property, Comments property, Assembly property, Print property, FaithfulPrint property, Linearized property, BookMarkFont property, EnableURLDetect property, DashedHyperlink property, ForceHyperlinkColor property, Hyperlink property, ForceEmbed property, AutoEmbed property, EmbedAll property, EmbeddedFontsCount property, Checked property, Embedable property, Fonts property, GetPrinterSaveOptions method, SetPrinterSaveOptions method, PDFOptions property

Protect property Topics:

ePrint: Getting and Setting PDF Documents Options