Vector text is defined by the entity of type IG_VECT_ENT_TEXT. It has some common text attributes such as base line angle and the type of alignment. Moreover, the text string is separated to the several Text Objects which have they own attributes such as font, font width and height, char base and char up angles, color, char spacing and some additional effects. The Text Object is created, owned and destroyed by the Text entity. It can be accessed via the handle HIG_VECT_TEXTOBJ and functions with the prefix IG_vect_textobj_... .
Text strings are stored inside the Vector component as Unicode (UTF8). There are API functions that allow working with vector text as in Code Page, as in Unicode (UTF16) form.
The following functions work with the text as with Code Page:
- IG_vect_textobj_get_text
- IG_vect_textobj_get_textlength
- IG_vect_textobj_get_textwidth
- IG_vect_textobj_set_text
The following functions work with the text as with Unicode (UTF16):
- IG_vect_textobj_get_text_W
- IG_vect_textobj_get_textlength_W
- IG_vect_textobj_get_textwidth_W
- IG_vect_textobj_set_text_W