Jump to content

View bottom half (or top half) of a pdf in a webviewer


Recommended Posts

I have the following code in a webviewer to vide a pdf:

"data:text/html,<!doctype><html>
<body>
<object data='data:application/pdf;base64," & Base64Encode ( PDF::File_Container ) & "' 
        type='application/pdf' 
        width='100%' 
        height='100%'>
</body>
</html>\""

If I only want to view the bottom half (or top half) of the pdf, is there something I can edit here to achieve that?

Somewhat also related, what if I want to view page 2 of the pdf by default?

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.