eDition Documentation

  • Increase font size
  • Default font size
  • Decrease font size
Home eDition FLASH API Zoom actions

Print Recommend

  • Zoom Actions (scales the zoom level)

    actionCommand ("zoomIn", percent, tween); "

    // zoom in - default value is set to scale up 20%, without tween animation "
    // percent: NUMBER - percent (optional)
    // tween: BOOLEAN - tween animation (optional)

    actionCommand ("zoomOut", percent, tween);

    // zoom out - default value is set to scale down 20%, without tween animation
    // percent: NUMBER - percent (optional)
    // tween: BOOLEAN - tween animation (optional)

    actionCommand ("zoomTo", percent, tween);

    // zoom to percent
    // percent: NUMBER - percent (required)
    // tween: BOOLEAN - tween animation (optional)
    // example: actionCommand ("zoomTo", 150, true);
    // zoom to 150% with tween animation

    actionCommand ("zoomToBestView");

    // zoom to best view (200%)

    actionCommand ("fitPageToWidth");

    // fit page to width

    actionCommand ("fitPageToHeight");

    // fit page to height

    actionCommand ("fitPageToScreen");

    // fit page to screen

    actionCommand ("movePageToCenter");

    // move page to center


Home eDition FLASH API Zoom actions