Origin Version (Origin Pro 7.5 SR5):
Operating System:Win-XP Pro
On my system the following function ...
long Get_Text_Font_info(string strTextLabelName)
{
GraphLayer gLayr=Project.ActiveLayer();
GraphObject grObj=gLayr.GraphObjects(strTextLabelName);
if(grObj.IsValid())
{
return (grObj.Label.Font.Face.nVal);
}
return (-1);
}
returns a 10 digit number which, presumably, encodes all information about the font of the Text label. How does one decode this to obtain someting as simple as a Font Name ??