如何使用Google Apps脚本隐藏Google电子表格中的图像? [英] How to Hide Images in Google Spreadsheets with Google Apps Script?

查看:72
本文介绍了如何使用Google Apps脚本隐藏Google电子表格中的图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在Google Spreadsheets中建立一个仪表板,并希望包含一些在隐藏/显示某些行时显示的图像.这可能吗?我已经使用insertImage插入图像,但是找不到删除或隐藏图像的方法(隐藏行不会影响图像).

I'm building a dashboard in Google Spreadsheets and want to include some images to be shown when certain rows are hidden/shown. Is this possible? I've used insertImage to insert the image but I can't find a way to delete or hide the image (hiding the rows does not affect images).

有什么想法吗?

推荐答案

为什么不直接使用电子表格本机函数= Image(URL,section),它将与单元格一起显示或隐藏

Why don't you directly use the spreadsheet native function =Image(URL,section), it will be show or hide with the cells

这篇关于如何使用Google Apps脚本隐藏Google电子表格中的图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆