Languages

Menu
Sites
Language
How to get EDC textblock text string width ? Any API?
Hi all,
 
Below is my EDC textblock decription:
 
textblock { "testtext";
desc { "default";
rel1.to: "anotherpart";
rel1.offset: 20 15;
text.align: 0 0;
text.style: "setting/item_tip_text/default";
text.text:"this is a test string, how to get text string width not string length";
}
}
 
I want to get the text string width, but I didn't find the corresponding  api for this, please help, thanks.