Google Apps Script – add logo example – part 008.

This is a simple example of 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 an add-on.
First, you need an 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 the menu and the result:

Leave a Reply

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