-
page (2)
Specifies a numbered page in the document, using an integer value. The document's first page has a pagenum value of 1.
-
nameddest ('chart')
Specifies a named destination in the PDF document.
-
zoom (200)
zoom (200,50,50)
zoom=scale,left,top. Sets the zoom and scroll factors, using float or integer values. For example, a scale value of 100 indicates a zoom value of 100%. Scroll values left and top are in a coordinate system where 0,0 represents the top left corner of the visible page, regardless of document rotation.In this example, the dimensions are 200% zoom, scroll left 50px, scroll top 50px. PDF.js also supports the following tokens in lieu of scale: page-width, page-height, page-fit, auto.
-
view (Fit)
Fit the page to the window.
-
view (FitH)
view (FitH,50)
Fit horizontal. Fit the width of the page to the window. The optional parameter (in this case, 50) specifies the distance from the page origin to the top of the window (scroll top 50px).
*
MS Edge does not support coordinates.
-
view (FitV)
view (FitV,50)
Fit vertical. Fit the height of the page to the window. The optional parameter (in this example 50) specifies the distance in from the page origin to the left edge of the window (scroll left 50px).
*
MS Edge does not support coordinates.
-
view (FitB)
Fit bounding. Fit the bounding box of the page contents to the window.
-
view (FitBH)
view (FitBH,50)
Fit bounding horizontal. Fit the width of the bounding box of the page contents to the window. top (in this example, 50) specifies the distance from the page origin to the top of the window (scroll top 50px).
-
view (FitBV)
view (FitBV,50)
Fit bounding vertical. Fit the height of the bounding box of the page contents to the window. The optional parameter (in this example 50) specifies the distance from the page origin to the left edge of the window (scroll left 50px).
-
viewrect (200,200,100,100)
Sets the view rectangle using float or integer values in a coordinate system where 0,0 represents the top left corner of the visible page, regardless of document rotation. Use the page command before this command. In this example, dimensions are 200px from left, 200px from top, 100px wide, 100px tall.
-
pagemode (bookmarks)
pagemode (thumbs)
pagemode (layers)
pagemode (attachments)
pagemode (none)
Displays bookmarks or thumbnails. The "layers" option is specific to FoxIt PDF Reader. The "attachments" option is specific to PDF.js.
-
scrollbar (0)
scrollbar (1)
Turns scrollbars on or off.
-
toolbar (0)
toolbar (1)
Turns the toolbar on or off.
-
reverse (0)
reverse (1)
View pages in reverse or forward order (specific to FoxIt PDF Reader).
-
statusbar (0)
statusbar (1)
Turns the status bar on or off.
-
messages (0)
messages (1)
Turns the document message bar on or off.
-
navpanes (0)
navpanes (1)
Turns the navigation panes and tabs on or off.
-
search (Lorem)
search ("Lorem")
search ('Lorem')
Opens the Search panel and performs a search for any of the words in the specified word list. The first matching word is highlighted in the document. The words must be enclosed in quotation marks and separated by spaces. For example: #search="word1 word2" You can search only for single words. You cannot search for a string of words.
-
highlight (200px from left, 200px from right, 200px from top, 200px from bottom)
highlight=lt,rt,top,btm. Highlights a specified rectangle on the displayed page. Use the page command before this command. The rectangle values are integers in a coordinate system where 0,0 represents the top left corner of the visible page, regardless of document rotation.
-
comment (e5c7bdc2-893f-4d44-9483-bc00dc9950cd)
Specifies a comment on a given page in the PDF document. Use the page command before this command. For example: #page=1&comment=e5c7bdc2-893f-4d44-9483-bc00dc9950cd