Class ScalePage

java.lang.Object
org.jpedal.manipulator.ScalePage
All Implemented Interfaces:
Manipulation

public class ScalePage extends Object implements Manipulation
Scales pages in a document
  • Constructor Summary

    Constructors
    Constructor
    Description
    ScalePage(PageRanges pages, float scaleX, float scaleY)
    Scales the specified page.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    apply(org.jpedal.io.annotation.utils.AnnotInfo info)
    Applies the manipulation to the current document

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ScalePage

      public ScalePage(PageRanges pages, float scaleX, float scaleY)
      Scales the specified page.
      Parameters:
      pages - the pages to scale
      scaleX - the horizontal scaling factor. 100% is 1.0f
      scaleY - the vertical scaling factor. 100% is 1.0f
  • Method Details

    • apply

      public void apply(org.jpedal.io.annotation.utils.AnnotInfo info) throws IOException
      Description copied from interface: Manipulation
      Applies the manipulation to the current document
      Specified by:
      apply in interface Manipulation
      Parameters:
      info - the AnnotInfo object for the currently loaded document
      Throws:
      IOException - if the manipulation cannot be applied to the document