Currently no API to move the fence text, I logged this as a wishlist, you can provide the number 38478 to get its status.
If this solves the problem please click ACCEPT SOLUTION so other people can find it easily.
Rocky Zhang
Inventor API PD
Manufacturing Solutions
Autodesk, Inc.