I am currently trying to allow the user to copy text from a label on a windows form to a clipboard when being clicked, it does copy the text, but it does not copy the font and size as well. If anyone could help me change my code somehow so that the clipboard also copies the font and fontsize along with the text it will be much appreciated.
Here's the code running it:
Private Sub Lbl1_Click(sender As Object, e As EventArgs) Handles Lbl1.Click
Clipboard.SetText(lbl1.Text)
popup.Label1.Text = "Text copied to clipboard"
Dim popupF As New Form
popupF = popup
popupF.Show()
End Sub