Jump to content
Server Maintenance This Week. ×

Fill screen with PDF in webviewer


This topic is 1155 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I have a webviewer that is loading a PDF from a container field. I'm doing this by using the following calculation in the webviewer:

"data:application/pdf;base64," & Base64Encode ( iostest::PDF_Current )


The PDF loads fine however on iOS it does not fill the screen (oddly enough on macos, it DOES fill the screen). Auto resizing on the webviewer is set to expand on all sides. The webviewer is the same size as the layout area as well.

I tried to use an iframe with the method below however it still doesn't expand:

"data:text/html,<!doctype><html>
<body>
<iframe src='data:application/pdf;base64," & Base64Encode ( iostest::PDF_Current ) & "' style='width:100%;height:100%;'></iframe>
</body>
</html>

What can I do to get the PDF to be full screen on iOS in a webviewer? See attached image for reference.

IMG_5498E80EE21A-1.jpeg

Link to comment
Share on other sites

This topic is 1155 days old. Please don't post here. Open a new topic instead.

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.