![]() The thing to do is to insert the image as blob (as usual), and THEN get its dimensions, within the doc to calculate the ratio, and FINALLY set its dimensions.ĮDIT : this is an updated version of the above code, to also fix the height of the picture. You can change the size after you’ve selected it from the drop-down menu then, under ‘Apply,’ change it to your liking. ![]() Then choose an image from your document and press the get size button in the sidebar. For an existing shape, you can set the size, position, and rotation you can. Navigate to the Add-ons menu and select the Add- ons menu item SetImageSize. Quite exact code : var inlineI = GDoc.appendImage(img) You can set the size and position of a page element when you create it using an insert method such as insertShape (). I've found a working solution in this frightening post (I am a newbie): ![]() I've tried the solution you gave, but no success, I always get a bizarre image ratio. To add an image directly without it being part of a question or an answer, tap on the Image icon at the bottom bar in your Google Form on mobile. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |