SetPageMode

Top  Previous  Next

This property is used to set page mode of the PDF document. Following are the possible values for TxgtPageMode:

 

 

 

 

Page Mode

Description

Values

pmNone

Neither document outline nor thumbnail images visible.

0

pmUseOutlines

Document outline visible.

1

pmUseThumbs

Thumbnail images visible

2

pmFullScreen

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

3

 

 

Syntax

 

 

[VC++]

void SetPageMode(long PageMode);

 

[VB]

Sub SetPageMode(PageMode As TxgtPageMode)

 

 

 

 

Parameters

 

 

PageMode

Specify the page mode of the document.

 

 

 

Example Code

 

 

[VC++]

m_PDF.SetPageMode(pmUseOutlines);

 

 

 

[VB]

gtPDFDocumentX1.SetPageMode(pmUseOutlines)