Link

Thumbnail Max Width

Sets the maximum width of the thumbnails. Can be used in conjunction with thumbnailMaxHeight. If both a width and height are given then the generated thumbnails will fit within the bounds given, maintaining the aspect ratio of the original page. If only a width or height is given then the size of the generated thumbnails will match the bound given, again maintaining the aspect ratio of the original page.

Expected values:

  • Any positive integer

Default: 200

Since: 2022.03

Usage Examples

Command Line

-Dorg.jpedal.pdf2html.thumbnailMaxWidth=300

Cloud

{ "org.jpedal.pdf2html.thumbnailMaxWidth": 300 }

Java

contentOptions.setThumbnailMaxWidth(300);
idrviewerOptions.setThumbnailMaxWidth(300);

Start Your Free Trial


Customer Downloads