Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

DynaPDF Manual - Page 696

Previous Page 695   Index   Next Page 697

Function Reference
Page 696 of 750
pfDIN_C65
= 10,
pfDIN_DL
= 11,
pfDIN_E4
= 12,
pfDIN_E5
= 13,
pfDIN_E6
= 14,
pfDIN_E65
= 15,
pfDIN_M5
= 16,
pfDIN_M65
= 17,
pfUS_Legal
= 18,
pfUS_Letter
= 19
}TPageFormat;
The function sets a predefined page or paper format. If an open page can be detected the format of
the page will be changed, the new format will also be used for newly created pages. If no open page
is detected, the default format for new pages will be set only. This function changes the media box of
a page (see SetBBox() for further information).
Paper formats:
Format
Size in units (Width, Height)
pfDIN_A3
842.0 x 1191.0
pfDIN_A4
595.0 x
842.0
pfDIN_A5
419.0 x
595.0
pfDIN_B4
709.0 x 1001.0
pfDIN_B5
499.0 x
709.0
pfDIN_B6
354.0 x
499.0
pfDIN_C3
918.0 x 1298.0
pfDIN_C4
649.0 x
918.0
pfDIN_C5
459.0 x
649.0
pfDIN_C6
323.0 x
459.0
pfDIN_C65
323.0 x
649.0
pfDIN_DL
312.0 x
624.0
pfDIN_E4
623.0 x
879.0
pfDIN_E5
439.0 x
624.0
pfDIN_E6
312.0 x
439.0
pfDIN_E65
312.0 x
624.0
pfDIN_M5
439.0 x
632.0
pfDIN_M65
317.0 x
632.0
pfUS_Legal
612.0 x 1008.0
pfUS_Letter
612.0 x
792.0
Default value = pfDIN_A4
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
 

Previous topic: SetPageFormat

Next topic: SetPageLayout