Vertical alignment text in line
Posted: Fri Sep 07, 2012 9:51 am
I insert in rtf text and smile. I want that all items will be centered by rvvaAbsMiddle.
Smile i centered:
But I don't know how i can centered simple text:
Smile i centered:
Code: Select all
rv.AddBulletEx('', idx, ClnDM.ilSmileys, -1);
TRVBulletItemInfo(rv.GetItem(rv.ItemCount-1)).VAlign := rvvaAbsMiddle;
Code: Select all
rv.AddText(s2, StyleNo);
rv.AddNL(s2, StyleNo, curParaNo);