There are two parameters, “400” and “1500”. However when we run the code, the resulting thumbnail is 309 wide by 400 height. I’m just wondering what the 1500 does and is the 400 the height?
options.setThumbnailSize(400, 1500);
Answer:
The second number is for "large" pages
A large page is a page larger than twice the area of the standard page size (8.5 X 11).