06-06-2022 10:03 AM
Hi,
I would like to change the position of the caption of an annotation programatically.
To do this I need to get the size of the caption but I couldn't find how to do it.
Is there a way to get the size of the caption of an annotation?
06-07-2022 02:44 AM - edited 06-07-2022 02:57 AM
I had no success in finding this item too.
What I can suggest is to set the caption font to a specified predefined or user-defined metafont and call GetTextDisplaySize () to retrieve height and width of the text used as caption.