Hello,
i have the following problem:I have a stringdim sTest as string = "AB" & Environment.NewLine & "CD"
and
UltraFormattedTextEditor.value = sTest
The result is AB CD
and notABCD
What ist here false?
Thank YouRonald
Hello Ronald,
Thank you for posting in our forums!
There are two property related to displaying text in UltraFormattedTextEditor.
In order to get advantage over the supported tags and attributes for manipulating the displayed text, you have to use the Value property.
In your scenario, if you want to separate each string on a new line, wrap the text in paragraph tags (for the second text is optional):
Me.UltraFormattedTextEditor1.Value = "<p>AB</p>" & "CD"
The second way is to use the Text property, without any formatting information.
Me.UltraFormattedTextEditor1.Text = "AB" & Environment.NewLine & "CD"
If you have more questions, I will be happy to answer you.