Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

image when overflow long text #1078

Open
rcayadi opened this issue Dec 25, 2024 · 0 comments
Open

image when overflow long text #1078

rcayadi opened this issue Dec 25, 2024 · 0 comments

Comments

@rcayadi
Copy link

rcayadi commented Dec 25, 2024

Screenshot from 2024-12-25 07-30-37

how to correct this , i want the signature also break to next page.

this is my code
if (data.column.index === 9 && data.row.section === 'body') {
const rowData = processedTableData[data.row.index];
if (rowData && rowData.guruSignature) {
const imageguru = baseguru + rowData.guruSignature;
const format = rowData.guruSignature.endsWith('.png') ? 'PNG' : 'JPEG';
doc.addImage(imageguru, format, data.cell.x, data.cell.y + 15, 20, 18);
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant