Google Apps Script – add logo example – part 008.

By | 24/09/2018

This is a simple example about how to add a logo to your document using Google Apps Script.
Is a good feature to add images (don’t use SVG file type) and create a add-on.
First you need a open document into google drive.
Open ToolsScript editor and start with the scripting area.
Add this source code to Code.gs:

Create a new file with FileNewHtml file and rename this file with AddLogos.html:
Fill this file with this source code:

Run the script and you have a new addon, see Add-ons from menu and the result:

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.