Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Particular String Bold in rich text box

$
0
0

$outputBox = New-Object System.Windows.Forms.RichTextBox
$outputBox.Location = New-Object System.Drawing.Size(10,250)
$outputBox.Size = New-Object System.Drawing.Size(1160,590)
$outputBox.MultiLine = $True
$outputbox.font = "lucida console,9"
$outputBox.ScrollBars = "Vertical"
$outputbox.readonly = $true

I have an output box [richtextbox]. I have function that will display data into that. Is there any way we can have the selected string/word in bold ?

 


Viewing all articles
Browse latest Browse all 6937

Latest Images

Trending Articles



Latest Images