Posted by a ceTe Software moderator
Hello,
The Syntax to add the Unicode values with VB.NET is differs from the C# code. Below is the code sample to add the symbol using Unicode values using VB.NET.
Dim fta1 As FormattedTextArea = New FormattedTextArea(ChrW(198) & "Symbol", 50, 450, 100, 20, FontFamily.Helvetica, 14, True)
Please note that if you would like to add the less-than (& l t ; ) or greater-than (& g t; )symbols to the PDF using FormattedTextArea then please use the HTML entities. Below is the code sample.
Dim fta As FormattedTextArea = New FormattedTextArea("< LESS-THAN SIGN", 50, 400, 200, 20, FontFamily.Helvetica, 14, True)
Dim fta2 As FormattedTextArea = New FormattedTextArea("> GREATER-THAN SIGN", 50, 500, 200, 20, FontFamily.Helvetica, 14, True)
Thanks,
ceTe Software Support Team.