Graphics

 View Only
  • 1.  How To Text alignment Horizontally Center when typed?

    Posted 05-02-2021 02:33
     how to text alignment horizontally center? when typed?


    ------------------------------
    Bibek Shrestha
    Designer
    ------------------------------


  • 2.  RE: How To Text alignment Horizontally Center when typed?

    Posted 05-18-2021 12:51
    Hello,
    You can either script it.  The number 540 is a variable number.  Change this to change the location on the screen.
    Dim text as xpTextObject
    dim height as integer
    Self.GetObjectByName("Text1", text)
    height = text.boundingbox.height
    text.posY = height / 2 + 540

    Or use visual logic to reposition the text.  Again the number 540 will change depending where you want to position it on the screen.

    Make sense?

    ------------------------------
    Lesley Mitchell
    Special Projects
    Bell Media
    Toronto, ON Canada
    ------------------------------



  • 3.  RE: How To Text alignment Horizontally Center when typed?

    Posted 05-20-2021 03:41
    Dear Lesley,
    Thank you for replying..
    Its working only in preview Scene manager. not in view port. what ever its work great for me.
    thankyou

    ------------------------------
    Bibek Shrestha
    Designer
    ------------------------------