I am using a forloop to add information (using appendtext) to a multiline textbox. Can the text be formatted differently on a per-line basis? For example, could I leave the first line at the default formatting and make the next line bold?
$outputWindow.AppendText("Default text format")
$outputWindow.AppendText("Bold text")
Whenever I define formatting per-line it changes all the text in the box to the formatting of the most recently added line.
Textbox.Multiline: Formatting appended text per-line
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
-
- Posts: 107
- Last visit: Thu Apr 29, 2021 8:47 am