PDF file, zoom in images with two fingers and move around

Hi, I’ve a got a PDF file with a ton of pages. I want to make it maximizable but also interactable in every page, with zoom in and move around with two fingers.
Besides, i want to know if there is a way to activate the hyperlinks that my pdf has.
Saludos!

See how to work with draggable items: https://www.youtube.com/watch?v=jdJpREkvqjc

PDF is converted to image, so links will not work.

It’s not what i need. I want to zoom and pan an image to see details, not maximize or drag the container. I want to do it inside the container.

Follow this steps to zoom image on double click:

  1. Put Image widget into Group
  2. Add “Execute” Action on Image “Double click”
  3. Select argument type “Script code”
  4. Paste the following code:
var group = document.childByName("Group 1")
var scale = 2

if (target.interactive) {
    target.scriptAdaptor.actionDisable()
    group.contentWidth = scale
    group.contentHeight = scale
}
else {
    target.scriptAdaptor.actionEnable()
    group.contentWidth = 1
    group.contentHeight = 1
}

Download the example zoomed_images.pma (2.0 MB)

IT WORKS PERFECTLY!!!
I love you!!!


Back to Flipabit >
Copyright © 2018. Flipabit Team. All rights reserved.