updated by GasGit automation

This commit is contained in:
Bruce McPherson 2015-06-17 11:48:36 +01:00
parent 56576037e7
commit f79dce5eb3

19
scripts/Image.js Normal file
View file

@ -0,0 +1,19 @@
// responsible for placing a png image on a sheet
var Image = (function(image) {
'use strict';
// insert an image at row / column in the sheet
image.insert = function ( range, png) {
range.getSheet().insertImage ( png , range.getColumn(), range.getRow());
};
// place an image
image.place = function (png) {
return image.insert ( SpreadsheetApp.getActiveRange() , png);
}
return image;
}) (Image || {});