我正在嘗試使用UniPDF Go庫轉換列中PDF表的行,我已經嘗試了 https://github.com/unidoc/unipdf-examples/blob/master/tables/pdf_tables_row_wrap.go 中提到的示例,但我無法根據需要修改文檔。任何幫助將不勝感激。
1 回答

慕碼人2483693
TA貢獻1860條經驗 獲得超9個贊
不確定我是否正確地理解了這一點,但我假設您有要在單個列中顯示的輸入數據。
為此,您可以創建一個單單元格列:https://github.com/unidoc/unipdf-examples/blob/fe269eb0efffed8e199c82cb7b7b4a38859b35d7/tables/pdf_tables_simple.go#L98
table := c.NewTable(1)
我為此創作了一部戲?。?a >https://play.unidoc.io/p/3421387bcde00a52
另請參見 https://apidocs.unidoc.io/unipdf/v3.20.0/github.com/unidoc/unipdf/v3/creator/#Creator.NewTable
- 1 回答
- 0 關注
- 166 瀏覽
添加回答
舉報
0/150
提交
取消