Origin Ver. and Service Release (Select Help-->About Origin): 2015 sr2
Operating System:Windows
Hi, I have created a graph layer and added a text graph object to the layer. I would like this text to include formatting (ie subscript) and a couple unicode characters. I currently have the following:
GraphObject gresults = gl.CreateGraphObject(GROT_TEXT,"Results");
//setup results string to be displayed
string slstr, xcstr, cstr;
//convert doubles to strings and set decimal places to be displayed
slstr = ftoa(t,"*3");
xcstr = ftoa(xc,"*6");
cstr = ftoa(c,"*5");
string strresults = "t = " + slstr + " Å\n2q_c = " + xcstr + "°\nc = " + cstr + " Å";
gresults.Text = strresults;
where in the string strresults, I would like the t to be a capital greek L (unicode 004C), the q to be a theta (unicode 03B8), and the _c to be a subscript c. For the unicode I tried entering the string as "\\x(004C)" but this just gives me a regular "L".