Hi everybody,
How to use the AutoText class in Google slides API? That's the question ? I don't find any code example ? Has anyone ever used this class and how ? Thanks
I would like to add 2 autotext on each slide of a presentation
If N is the number of a slide
I would like to number a presentation like a book with 2 page numbers !
Solved! Go to Solution.
Hi Eric,
The autoText feature is not meant for you to place value on the textbox but to read from where the autotext is coming from, as an example:
1- You start a slide and then add the slide number
2- You read the slides and then select the text box
3- Extract the text box text and then you can read the value of where the auto text is coming from
Eric, did you ever figure this out?
To be honest, I couldn't find any information explaining how to use the AutoText class.
I wanted to try displaying 2 page numbers on 1 slide. But I don't know how to do it
Hi Eric,
The autoText feature is not meant for you to place value on the textbox but to read from where the autotext is coming from, as an example:
1- You start a slide and then add the slide number
2- You read the slides and then select the text box
3- Extract the text box text and then you can read the value of where the auto text is coming from
Hi Sergio,
Now I understand. This is useful for reading Autotext.
It does not allow AutoText fields to be added dynamically.
Thanks
To use the AutoText class in the Google Slides API, you can follow these steps:
By following these steps and customizing the content and properties of the AutoText object, such as adding "Watco Delivery Information" as the text, you can use the AutoText class in the Google Slides API to programmatically insert and manage AutoText elements within your slides.
Hi,
I don't understand the purpose of putting "Watco Delivery Information" in AutoText.
If I want to add text, I use a Shape object with text inside!