13–3 -changeViewInfo: Open Action Settings

13–3–1 Processing

Sets how to open the PDF file.

13–3–2 Example of commands

[Executing example commands]

Specifies how to open test.pdf and output it as out.pdf.

[Windows]

AHPDFToolCmd80.exe -changeViewInfo -pageLayout 2 -pageMode 3 -hideToolbar true -d C:\test\test.pdf -o C:\sav\out.pdf

[Linux]

AHPDFToolCmd80 -changeViewInfo -pageLayout 2 -pageMode 3 -hideToolbar true -d /home/antenna/test/test.pdf -o /home/antenna/sav/out.pdf

13–3–3 Folder settings: applied

You can perform batch processing by specifying the input folder to the -d parameter and the output folder to the -o parameter. If you specify a folder, set how to open the PDF file in the input folder. Note that the output file will be output to the output folder with the same name as the input file name.

13–3–4 Parameters

Parameter
Content
-direction Val
Sets reading options (binding direction). Can be omitted.
1 : Left to right (left binding) 2 : Right to left (right binding)
If not specified, no change.
If a value other than 1 or 2 is specified, an error will occur.
-pageLayout Val
Sets the page layout. Can be omitted.
1: Single page 2: Single Page Continuous
3: Two-Up Continuous (Facing)4: Two-Up Continuous (Cover Page)
5: Two-Up (Facing) 6: Two-Up (Cover Page)
If not specified, no change.
If a value other than 1 to 6 is specified, an error will occur.
-pageMode Val
Sets the page mode. Can be omitted.
1: Pages Only
2: Bookmarks Panel and Page
3: Pages Panel and Page
5: Layers Panel and Page
6: Attachments Panel and Page
If not specified, no change.
If a value other than 1 to 3, 5 and 6 is specified, an error will occur.
-pageMode is ignored when -fullScreen true is specified.
-fitWindow Val
Resize window to initial page. Can be omitted.
true: Fits it to the window size.
false: Does not fit it to the windows size.
If not specified, no change.
-centerWindow Val
Center window on screen. Can be omitted.
true: Centers it in the screen.
false: Does not center it in the screen.
If not specified, no change.
-fullScreen Val
Opens the window in full screen mode. Can be omitted.
true: Open it in full screen mode.
false: Does not open it in full screen mode.
If not specified, no change.
-pageMode is ignored when "-fullScreen true" is specified.
-displayTitle Val
Displays the Title of the document properties in the title bar in the window. Can be omitted.
true: Display the title.
false: Does not display the title.
If not specified, no change.
-hideToolbar Val
Hide the toolbar. Can be omitted.
true: Hides the toolbar.
false: Show the toolbar.
If not specified, no change.
-hideMenubar Val *
Hide the menu bar. Can be omitted.
true: Hides the tool bar.
false: Show the tool bar.
If not specified, no change.
-hideWindowUI Val *
Hide the window control. Can be omitted.
true: Hides the window control.
false: Show the window control.
If not specified, no change.
-viewFit Val
Magnification settings. Can be omitted.
1: 100% 2: Full display 3: Fits to width 4: Fits to height 5: Fit to drawing area width
If not specified, no change.
If a value other than 1 to 5 is specified, an error will occur.
- defaultPageNo Val
Sets the page number to open first. Can be omitted.
Sets the first page to "0."
If not specified, no change.

(*) When viewing a PDF file with "-hideMenubar true" and "-hideWindowUI true" are set at the same time using Acrobat/Adobe Reader, a menu bar will be displayed, but this is a specification of Acrobat Reader.