728x90 bottom1 [FPDF] MultiCell()을 활용한 개행(줄바꿈) 처리 Go언어로 PDF 템플릿을 받아서 서버에서 받아온 데이터를 찍는 프로젝트를 하고 있다. 지금은 pdf.Text()를 쓰고 있어서 긴 문장을 받아오면 자동으로 개행 처리가 안 되고 PDF 템플릿 밖으로 넘어간다. 어떻게 하면 개행 처리를 할 수 있을지 찾아보다가 MultiCell()을 발견했다!! https://java-coding.tistory.com/49 [FPDF] MultiCell MultiCell(float w, float h, string txt [, mixed border [, string align [, boolean fill]]]) http://www.fpdf.org/en/doc/multicell.htm MultiCell www.fpdf.org 🌸 Description (설명) - Mult.. 2022. 8. 9. 이전 1 다음 728x90