pdfmake
pdfmake copied to clipboard
Image scale with height only
The documentation says the image should scale when only width is defined. But I tried to defined height only, and the image was stretched to some "random" value.
Could the image be scaled if only height is defined? Right now, I'm forced to use this workaround:
fit: [ height, pageWidth - (2 * pageMargin) ]
this would be huge to have, i have columns with images in it and have to currently scale by width, it looks back. any idea how to get around this?