GetPageMode

Top  Previous  Next

This property specifies the Page mode of the 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++]

long GetPageMode();

 

[CS]

public abstract new PDFtoolkitX.TxgtPageMode GetPageMode (  )

 

[VB]

Function GetPageMode() As TxgtPageMode

 

 

 

 

Parameters

 

 

PageMode

Specify the page mode of the document.

 

 

 

Example Code

 

 

[VC++]

m_PDF.SetPageMode(pmUseOutlines);

 

 

 

[VB]

gtPDFDocumentX1.SetPageMode(pmUseOutlines)