News:

When replying to a specific statement be sure to quote the previous post.

Main Menu

text - special characters

Started by nikkipollard, December 04, 2020, 12:52:30 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nikkipollard

I am trying to add text to a drawing - using vb.net - or vba.
The text contains special characters like the sigma symbol


     
        Dim str As String = ChrW(8721)

        'Convert.ToChar(&H3A3)
        MsgBox(str)

        Dim gfx As IMSIGX.Graphic = TCDraw.Graphics.AddText(str, 0, 0, 0, 50)


but I get a ? is there a way to add special characters? - I don't always know what the character is because I am copying from a source.

I have also tried to copy the code directly from character map - like we do in TC but I get weird codes
%u2211






Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

John R

#1
Maybe write it as HTML? 
Σ
or
∑
or
Σ
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

nikkipollard

Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h