Package org.jpedal.manipulator
Class ScalePage
java.lang.Object
org.jpedal.manipulator.ScalePage
- All Implemented Interfaces:
Manipulation
Scales pages in a document
-
Constructor Summary
ConstructorsConstructorDescriptionScalePage
(PageRanges pages, float scaleX, float scaleY) Scales the specified page. -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(org.jpedal.io.annotation.utils.AnnotInfo info) Applies the manipulation to the current document
-
Constructor Details
-
ScalePage
Scales the specified page.- Parameters:
pages
- the pages to scalescaleX
- the horizontal scaling factor. 100% is 1.0fscaleY
- the vertical scaling factor. 100% is 1.0f
-
-
Method Details
-
apply
Description copied from interface:Manipulation
Applies the manipulation to the current document- Specified by:
apply
in interfaceManipulation
- Parameters:
info
- theAnnotInfo
object for the currently loaded document- Throws:
IOException
- if the manipulation cannot be applied to the document
-