Hi Bibek, what exactly are you trying to do, centre your text in the middle of the screen or in the middle of a quad? The post you have commented on is 2012, XPression has come a long way since then.
It also depends which edition of XPression you have whether or not you have scripting.
You could try this visual logic (I used 540 as the centre but it could be any value) , you'll have to adjust the Y pivot point to the top of the bounding box and if you want the text centred vertically as well adjust the X pivot too. If it's the centre of a quad you could use the same VL but instead of a value calculate the centre position by using quad position - (quad height/2)
There may be other, better ways (and I'm sure they will be added) but give this a go and see if it works for you.
------------------------------
Jos Ford
Ross Video
------------------------------
Original Message:
Sent: 05-02-2021 02:40
From: Bibek Shrestha
Subject: Centering Text Vertically
Dear Chris,
Please can yousend me that Text Vertically Script? to my (mr.bibek@gmail.com) email.
thankyou so much in advamce
------------------------------
Bibek Shrestha
Designer
Original Message:
Sent: 10-11-2012 17:32
From: Chris Marsall
Subject: Centering Text Vertically
I'm hoping that Centering Text Vertically was addressed in 4.0, so you don't need code.
David, contact me off list and I'll give you a few scripts i use for text centering.
chris
chris@cgla.tv
#XPression