I have to set images in horizontal in pdf. But I can't get any property to set images in vertical

I have to set images in horizontal in pdf. But I can't get any property to set images in vertical

Foram387Foram387 Posts: 6Questions: 3Answers: 0
edited January 2023 in Free community support

I have multiple images in one cell. But in PDF it shows images in vertical line.
So I wanted to set images in horizontal form.
My Code is
tableBody[1][1] = getImage(arrayOfUrl);

function getImage(arrayOfUrl)
{
var arrayRet=[];
for(let i=0;i<arrayOfUrl.length;i++)
{
var imgDetail = {
image : arrayOfUrl[i],
width: 8,
height: 8,
};
arrayRet.push(imgDetail);
}
return arrayRet;
}

Answers

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

Sign In or Register to comment.