Module provides some method for text document
DocumentFormatter
01 Syntax
Microsoft.VisualBasic.MIME.Html.DocumentFormatter
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| HighlightLinks | 1 | High light all of the links in the text document automatically. |
| HighlightURL | 1 | Highligh links in the text.(将文档里面的url使用html标记出来) |
| HighlightEMail | 1 | Highlights the email address in the text.(将文档里面的电子邮件地址使用html标记出来) |
03 Members
HighlightLinks(
String)High light all of the links in the text document automatically.
Parameters
| Name | Type | Description |
|---|---|---|
s | String | Assuming that the input text is plant text. |
HighlightURL(
String)Highligh links in the text.(将文档里面的url使用html标记出来)
Parameters
| Name | Type | Description |
|---|---|---|
s | String | 假设这里面没有任何html标记 |
HighlightEMail(
String)Highlights the email address in the text.(将文档里面的电子邮件地址使用html标记出来)
Parameters
| Name | Type | Description |
|---|---|---|
s | String | - |