How to get EDC textblock text string width ? Any API?

How to get EDC textblock text string width ? Any API?

BY 13 May 2019 Native Application Development
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.
Written by