Page 1 of 1

General.PageLayout option confusion

Posted: Fri Aug 12, 2022 6:26 pm
by sabio5
I'm confused over the options for the General.PageLayout property in the Print Driver API. The documentation gives these options:

0 (Default)
1 (ShowNone)
2 (Bookmarks)
3 (Thumbnails)
4 (FullScreen)

These do affect the Document Properties > Initial View > Page Layout option (visible in the PDX-XChange Editor), but the options there are:

Default
Single Page
Continuous
Two Pages, Continuous
Two Pages, Continuous with Cover Page
Two Pages
Two Pages with Cover Page

Is this just a documentation glitch? If so, can you provide the numeric and/or symbolic equivalents for the correct options?

Thanks,
Jack

Re: General.PageLayout option confusion

Posted: Fri Aug 12, 2022 8:22 pm
by Sean - PDF-XChange
Hi Jack,

Thanks for the feedback - the documentation did indeed need to be updated and has been updated to display the correct values, which are as follows:

PageLayout:

0 (Default)
1 (SinglePage)
2 (OneColumn)
3 (TwoColumnLeft)
4 (TwoColumnRight)
5 (TwoPagesLeft)
6 (TwoPagesRight)

PageMode:

0 (Default)
1 (ShowNone)
2 (Bookmarks)
3 (Thumbnails)
4 (Layers)
5 (Attachments)
6 (FullScreen)

FullScreenMode:

0 (Default)
1 (ShowNone)
2 (Bookmarks)
3 (Thumbnails)
4 (OptionalContent)

The other available properties are unchanged from the previous documentation.

Kind regards,

Re: General.PageLayout option confusion

Posted: Fri Aug 12, 2022 8:42 pm
by sabio5
Ok good. That clears it up for me.

Thanks for the quick reply!
Jack

General.PageLayout option confusion

Posted: Fri Aug 12, 2022 8:46 pm
by Paul - PDF-XChange
:)