Can I specify the object's vertical alignment in a table cell? etc. top,middle and bottom.
i am using wptools v5.20.4 thanks.
Can I specify the object's vertical alignment in a table cell? etc. top,middle and bottom.
i am using wptools v5.20.4 thanks.
You can use the property WPAT_VertAlign
with par.ASet( ..., value )
0=paralVertTop, 1=paralVertCenter, 2=paralVertBottom
Julian
Hi Julian,
I was trying to use WPAT_VertAlign property but I find a little bug.
It only works if I set it to a paragraph. If I try to set it to CurrAttr (to handle selected cells) it has no effect.
This works:
This does not work:
Off course, after that I call some reformat/refresh methods, like
poWPRichText.DoUpdateParAttr;
poWPRichText.ChangeApplied;
poWPRichText.Refresh;
poWPRichText.DelayedReformat;
Thanks for your help
Alessandro Fragnani