文檔金喜正規買球>>Fastreport.Net 用戶手冊(完結)>>Fastreport.Net用戶手冊(十七):HTML標簽
Fastreport.Net用戶手冊(十七):HTML標簽
你也許會在"Text"對象中用到一些簡單的HTML標簽。在默認情況下標簽是禁用的,要開啟它標簽,需要在"Properties"窗口設置"HtmlTags"屬性為true。以下列出的是支持的標簽:
- < b >...< /b > :加粗
- < i >...< /i > : 斜體
- < u >...< /u > :下劃線
- < strike >...< /strike > :刪除線
- < sub >...< /sub >:腳注
- < sup >...< /sup >:上標
- < font color=... >...< /font > :字體顏色—可以是已命名的顏色(如DarkGray),也可以是#RGB格式的十六進制代碼(如#FF8030)。
以下示例將演示這些標簽是如何被使用的:
text < b >bold text< /b > < i >text in italic< /i > < b >< i >bold and in italic< /b >< /i >
E = mc< sup >2< /sup >
A< sub >1< /sub > = B< sup >2< /sup >
this is regular text, < font color=red >and this is a red one< /font >
this is regular text, < font color=#FF8030 >and this is an orange one< /font >
此文本將會以如下方式進行顯示:

相關鏈接:
關于產品相關的任何問題,歡迎咨詢