Link
Skip to main content

Scaling

Sets the Scaling value of the converted content.

Expected values:

  • 1 (float multiplier)
  • 1000x1000 (best fit width/height)
  • fitWidth1000 (best fit width)
  • fitHeight1000 (best fit height)

Default: 1

Usage Examples

Command Line

-Dorg.jpedal.pdf2html.scaling="1.5"
-Dorg.jpedal.pdf2html.scaling="1000x1000"
-Dorg.jpedal.pdf2html.scaling="fitWidth1000"
-Dorg.jpedal.pdf2html.scaling="fitHeight1000"

Cloud

{ "org.jpedal.pdf2html.scaling": "1.5" }
{ "org.jpedal.pdf2html.scaling": "1000x1000" }
{ "org.jpedal.pdf2html.scaling": "fitWidth1000" }
{ "org.jpedal.pdf2html.scaling": "fitHeight1000" }

Java

conversionOptions.setScaling(1.5f);
conversionOptions.setScalingFitWidthHeight(1000, 1000);
conversionOptions.setScalingFitWidth(1000);
conversionOptions.setScalingFitHeight(1000);

What's included in your BuildVu trial?

  • Access to download the SDK and run it locally.
  • Access to the cloud trial to convert documents in the IDR cloud.
  • Access to the Docker image to set up your own trial server in the cloud.
  • Communicate with IDR developers to ask questions & get expert advice.
  • Plenty of time to experiment and build a proof of concept.
  • Over 100 articles to help you get started and learn about BuildVu.
  • An exceptional PDF to HTML converter that took over 20 years to build!

Learn more about BuildVu

Start Your Free Trial