06-06-2017 04:01 AM
Hello,
I want to send the format information of the character String Controls to the clipboard (RichTextBox).
Format information is font color, font size, font type.
It can not be done with the method which writes to the standard clipboard of LABVIEW.
Is there a way to send it from the prompt node of the String Controls to the clipboard (RichTextBox)?
I need your advice.
Solved! Go to Solution.
06-08-2017 09:56 AM - edited 06-08-2017 10:08 AM
I don't know if this answers your question. But this might get you headed in the right direction.
If you hover over the property node with the (help dialog) open it will reveal the .net class type that is required for those properties. Then you can use a .net constructor node to generate the necessary properties. (be sure to close the reference properly here (I left some open))
You probably want a 2015 snippet 😉
06-08-2017 10:14 AM
The principle is good. Just be aware that the LabVIEW FontSize is in pixels while the .Net Font Size is in em.
06-08-2017 10:20 AM
Yea, I did overlook that. Thanks!
06-10-2017 03:15 AM
Thank you for your detailed advice.
2015 Snippet too