how to wrap text in a cell by increasing the height of the cell in ASP with fpdf?

谁说我不能喝 提交于 2020-01-25 06:50:12

问题


I would like to wrap within a cell if the number of characters present is greater than 80

I try to use Multicell but a whole line is skipped

pdf.SetTopMargin 0
    pdf.SetFont Font_Family_T,"",Font_5
    pdf.Cell 5,Dist_6,"" & ZZ,"TBL",0,"C"

    pdf.SetTopMargin 0
    pdf.SetFont Font_Family_T,"",Font_5
    pdf.Cell 107,Dist_6,"" & getvalue(objrs ,"w_orcdar") & " | " & getvalue(objrs ,"w_ordesa") & "-" & getvalue(objrs ,"w_ornote") ,"BTL",0,"L"

    pdf.SetTopMargin 0
    pdf.SetFont Font_Family_T,"",Font_5
    pdf.Cell 15,Dist_6,"" & getvalue(objrs ,"w_ordtc1"),"TL",0,"C"

    pdf.SetTopMargin 0
    pdf.SetFont Font_Family_T,"",Font_5
    pdf.Cell 10,Dist_6,"" & getvalue(objrs ,"w_orordi") & " (" & um_base & ")","TL",0,"C"

this is the result but it is not correct

I want to increase cell height so as not to wrap up

来源:https://stackoverflow.com/questions/58537353/how-to-wrap-text-in-a-cell-by-increasing-the-height-of-the-cell-in-asp-with-fpdf

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!