Registration points

A fast and hopefully simple question.
The default registration point for dynamically created objects is at the top left corner. The question is the following: how can I set the registration point of a dynamically created object manually ? Because I’d like to set the reg point to the middle of my object…

Any ideas ? Thanks.