1
我努力在句子(文本)的某些部分添加背景顏色,使用MIGRADOC和PDFSHARP添加背景顏色。任何建議如何做?使用MIGRADOC和PDFSHARP將背景顏色添加到文本的某個部分
par.addText(coloredText);
這是我想補充一點,應該是彩色的文本,但也沒有辦法設置爲彩色,除了段(paragraph.shading.color = Color.red)
但我需要的段落文本的一部分。
由於
請添加您到目前爲止嘗試過的代碼 –
@ Vini.g.fer我將代碼添加到帖子中。謝謝 – misha