Tiago Lourenco,
the secret is in the vieuwcursor !
trye this code to find out the aligments of tablecells
oText = oDocument.text
If Not isEmpty(oViewCursor.TextTable) then ' Cursor is in een Tabel
if CurRow.IsAutoHeight = True then
print "Cell is autohight"
endif
if oViewCursor.texttable.Horiorient = 6 then ' other numbers is other
aligments..
print "cell is Automatic aligned"
endifif oViewCursor.texttable.Vertorient = 2 'other numbers is other
aligments
print "cell is Centered"
endif
endif
Hope it helps
Fernand
Hi,
Im trying to set some properties of textTableCell. But I cant change the
alginment of a cell context
Any help would be greatly appreciated. Especially in Portuguese (BR) hehe
Thanks and Regards
________________________
Tiago Lourenço da Silva
_________________________________________________________________
Quer deixar seus vídeos mais divertidos? Com o Movie Maker isso fica fácil.
http://www.windowslive.com.br/public/tip.aspx/view/87?product=4&ocid=Windows
Live:Dicas - Movie Maker:Hotmail:Tagline:1x1:Titulo Legendas Creditos
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]