PageMode

The PageMode property determines how the document should be displayed when opened using Acrobat ReaderĀ®.

Syntax

ActiveX:

BSTR PageMode

Parameters

PageMode

[in, out] String value representing the way the document should be opened. The list of possible values is in the remarks section.

Remarks

Possible values for the PageMode property as of the PDF specifications 1.4:

 

Options

Description

"UseNone"

Neither document outline nor thumbnail images visible.

"UseOutlines"

Document outline visible.

"UseThumbs"

Thumbnail images visible.

"FullScreen"

Full-screen mode, with no menu bar, window controls, or any other window visible.

 

Visual Basic Example

 

For  ActiveX:

Dim doc As New CDIntfEx.Document

'This function reguires a call to the SetLicenseKey ()

doc.SetLicenseKey strLicensTo, stractivationcode

'Open existing PDF document

doc.OpenEx "c:\temp\sample.pdf", ""

doc.PageMode = "UseThumbs"

'Save changes

doc.Save "c:\temp\UseThumbs.pdf"