Skip to main content
Participant
July 3, 2025
Question

How can I use AE SDK to set the alignment of text in a text layer? Is there any examples?

  • July 3, 2025
  • 1 reply
  • 208 views

I am trying to use AE SDK to set the text style of the text in text layer, but I cannot find the relevant API; AEGP_SetText looks similar, but I'm not sure how to use it and there's no relevant description in the documentation


1 reply

Community Expert
July 3, 2025

I think it can only be done via javascript.

you can use AEGP_ExecuteScript() for that.

Participant
July 4, 2025

Thank you for your reply. I can indeed obtain the information I need through JavaScript. But I am still very puzzled why AE SDK does not provide a corresponding API for such a simple and commonly used requirement?

James Whiffin
Legend
July 4, 2025

There's a lot of things that javascript can do that the c++ SDK can't, especially relating to text :'(