Command ID 9 - insert HTML markup |
[Top] [Chapter] [Previous] [Next] |
This command inserts HTML open and closing markup.
Memo.TextCommandStr(9, 0, "b") creates <b>|</b>.
If text is currently selected the tags will be created around the selected text, if no text is selected the cursor | will be placed within the tags.
You can also specify parameters:
Memo.TextCommandStr(9, 0, "span style=\"font-face:Arial\"") creates <span style="font-face:Arial">|</span>. |