Tech Tip: How to open PDF to desired page in Web Area
PRODUCT: 4D | VERSION: 19 | PLATFORM: Mac & Win
Published On: March 7, 2022
PDF files can be opened in a web area using the command WA OPEN URL. To open a PDF to a specific page, append the path with “#page={desired_page_number}”. For example:
$path:="file:///Users/ndo/Desktop/example.pdf" $pg:="#page=4" WA OPEN URL(*; "myWA"; $path+$pg) |
The above code will open "test.pdf" to page 4.