MATLAB 帮助中心
本页采用了机器翻译。点击此处可查看英文原文。
命名空间: mlreportgen.dom
在文本下画线
mlreportgen.dom.Underline 类是一个 handle 类。
mlreportgen.dom.Underline
handle
underline = Underline 在文本下画一条线。
underline = Underline
underline
underline = Underline(type) 在文本下方绘制指定类型的线。
underline = Underline(type)
type
underline = Underline(type,color) 在文本下方绘制指定类型和颜色的线。颜色参数必须是 mlreportgen.dom.Color 对象。
underline = Underline(type,color)
color
mlreportgen.dom.Color
全部展开
下划线的样式,指定为以下值之一。HTML 和 PDF 仅支持 "single"。
"single"
"double"
"words"
"thick"
"dotted"
"dottedHeavy"
"dash"
"dashedHeavy"
"dashLong"
"dashLongHeavy"
"dotDash"
"dotDotDash"
"dashDotDotHeavy"
"dashDotHeavy"
"none"
"wave"
"wavyDouble"
"wavyHeavy"
下划线的颜色,由 mlreportgen.dom.Color 对象指定。
Type
下划线样式。请参阅构造函数的 type 输入参量的描述。
GetAccess
public
SetAccess
NonCopyable
true
数据类型: char | string
char
string
Color
[]
下划线的颜色,指定为包含 CSS 颜色名称、十六进制 RGB 值或十进制 RGB 值的字符向量或字符串标量。
"#RRGGBB"
#
"rgb(r,g,b)"
r
g
b
0
255
Tag
标记,指定为字符向量或字符串标量。DOM API 在创建此对象的过程中生成一个会话唯一标记。生成的标记形式为 CLASS:ID,其中 CLASS 是对象类,ID 是对象的 Id 属性的值。使用此值来帮助确定在文档生成过程中出现的问题的位置。
CLASS:ID
CLASS
ID
Id
目标标识符,指定为字符向量或字符串标量。DOM API 在创建文档元素对象时会生成一个会话唯一标识符。
在 R2014b 中推出
mlreportgen.dom.Text
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
欧洲
亚太
联系您当地的办事处