www.gnostice.com 

PagePaperSize

Top  Previous  Next

The PagePaperSize property specifies the size for the page.

 

 

 

 

Syntax

 

 

[VC++]

long GetPagePaperSize();

void SetPagePaperSize(long nNewValue);

 

[C#]

public abstract new eDocEngineX.TxgtPaperSize PagePaperSize [  get,  set ]

 

[VB]

Property PagePaperSize As TxgtPaperSize

 

 

 

Remarks

 

 

The page size can be set to one of the 40 different pre-defined sizes defined in TxgtPaperSize, or it can be a custom value. To set a custom paper size, you have to set PagePaperSize property to "Custom" and specify the width and height of the paper through PageWidth and PageHeight properties respectively. Following are the possible values of TxgtPaperSize:

 

 

 

Paper Size

Values

Letter

0

LetterSmall

1

Tabloid

2

Ledger

3

Legal

4

Statement

5

Executive

6

A3

7

A4

8

A4Small

9

A5

10

B4

11

B5

12

Folio

13

Quarto

14

ps10X14

15

ps11X17

16

Note

17

Env10

18

Env11

19

Env12

20

Env14

21

CSheet

22

DSheet

23

ESheet

24

EnvDL

25

EnvC5

26

EnvC3

27

EnvC4

28

 

 

 

 

 

 

 

Note

 

 

This PagePaperSize should be set before calling NewPage or BeginDoc to come into effect.

 

 

 

 

Example Code

 

 

For an example code, see Page Formatting.

 

 

 

 

See Also

 

 

PageWidth, PageHeight