Layout C API - Autotext modification

I am developing an application to export any skp to layout using the new C api 2016. Can some one tell, how do I modify some of the texts in the .Layout template ?