2010-01-31 61 views
0

This works: Font font_medium = FontFactory.GetFont(FontFactory.HELVETICA,10);如何在使用FontFactory時指定10.5字體大小mvc

並且這不會構建: Font font_medium = FontFactory.GetFont(FontFactory.HELVETICA,10.5);

我得到的生成錯誤:

*>錯誤3最好的重載方法

match for 'iTextSharp.text.FontFactory.GetFont(string, string)' has some invalid arguments C:\Documents and Settings\Administrator\Desktop\lms4\LMS\Lms.Web\Controllers\PaymentItemController.cs 24 28 Lms.Web*

在此先感謝

回答

0

.GetFont不承認小數字體大小。我不相信有一個解決方法,唯一可以嘗試做的是找到一個寬的Helvetica可能會給一個稍大的字體的幻想......

相關問題