1
創建文本中心的圓,我嘗試創建一個OMR片。對於這個需要像下面這樣的設計。我在HTML & css。如何iTextSharp的
但iTextSharp的不作爲瀏覽器的HTML工作。
<td style="border-width:0 2px 0 4px; border-style:solid; border-color:white; padding:0 20px;">
<div style="height:17px; width:25px; padding:2px; float:left;">1</div>
<div style="height:17px; width:18px; padding:2px; margin:5px 2px; float:left; text-align:center; border-radius:50px; border:1px solid black;">A</div>
<div style="height:17px; width:18px; padding:2px; margin:5px 2px; float:left; text-align:center; border-radius:50px; border:1px solid black;">B</div>
<div style="height:17px; width:18px; padding:2px; margin:5px 2px; float:left; text-align:center; border-radius:50px; border:1px solid black;">C</div>
<div style="height:17px; width:18px; padding:2px; margin:5px 2px; float:left; text-align:center; border-radius:50px; border:1px solid black;">D</div>
</td>
邊境&邊界半徑不工作
我該如何解決,任何想法。 感謝
你不顯示任何代碼的,因此這是不可能看到你正在使用的iText的版本。如果你想要這個工具,你應該使用iText 7 + pdfHTML插件。如果您聲稱邊界和邊界半徑不起作用,那麼您可能使用的是舊版本。 –
@BrunoLowagie是的,我正在使用iText 5。 –