Fastreport.Net用户手册(十七):HTML标签
2016-10-10 00:00
375 查看
你也许会在"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 >
此文本将会以如下方式进行显示:
相关链接:
fastrepot.net最新试用版下载
fastreport中文网
< 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 >
此文本将会以如下方式进行显示:
相关链接:
fastrepot.net最新试用版下载
fastreport中文网
相关文章推荐
- Fastreport.Net用户手册:设计器中的Bands
- Fastreport.Net用户手册(二十):"Shape"对象
- Fastreport.Net用户手册(二十一):"CheckBox"对象
- Fastreport.Net用户手册:“Text”对象
- Fastreport.Net用户手册:表达式显示
- Fastreport.Net用户手册(十八):"Rich Text"对象
- Fastreport.Net用户手册:Bands
- Fastreport.Net用户手册:报表选项
- Fastreport.Net用户手册:数据列显示
- Fastreport.Net用户手册(十九):"Line"对象
- Fastreport.Net用户手册:报表页属性
- Fastreport.Net用户手册:管理报表页
- Fastreport.Net用户手册:报表设计器
- Fastreport.Net用户手册:Bands属性
- Fastreport.Net用户手册:报表页
- Fastreport.Net用户手册:文本编辑
- Fastreport.Net用户手册:打印Bands
- Fastreport.Net用户手册:配置Bands
- [.Net码农]FastReport.NET WebReport标签使用教程
- 使用FastReport.net在用户的应用程序中创建报表