将 HTML 用于 BarTender

超文本标记语言(通常缩写为 HTML)是一种允许您使用标记设置对象格式的标记语言。标记语言主要用于设置网站的格式,但是也可以用于 BarTender 来设置文本对象的格式。

Closed使用 HTML 格式的示例

以下示例说明如何在文本对象内使用 HTML。

<html>

<head>

<style>

body {font-size:8pt; font-family: Arial;}

table {background: AntiqueWhite; width: 300px;}

th {background: DarkBlue; color: White;}

td {border: solid 1px;}

</style>

</head>

<body>

<table>

<tr>

<th> First Name </th>

<th> Last Name </th>

<th> City </th>

<th> State </th>

</tr>

<tr>

<td> Lisa </td>

<td> Johnson </td>

<td> Seattle </td>

<td> WA </td>

</tr>

<tr>

<td> John </td>

<td> Smith </td>

<td> Baltimore </td>

<td> MD </td>

</tr>

<tr>

<td> Sarah </td>

<td> Donahue </td>

<td> Dallas </td>

<td> TX </td>

</tr>

</table>

</body>

</html>

当将上面的示例代码插入到文本对象中时,将会在项目上打印以下对象:

在此部分中