{"id":2590,"date":"2016-03-18T05:57:34","date_gmt":"2016-03-18T05:57:34","guid":{"rendered":"http:\/\/www.ericwhite.com\/home2\/bm8qcmjy\/public_html\/blog\/?page_id=2590"},"modified":"2016-03-20T14:09:03","modified_gmt":"2016-03-20T14:09:03","slug":"precisely-placing-images-in-an-open-xml-spreadsheet","status":"publish","type":"page","link":"https:\/\/www.ericwhite.com\/blog\/precisely-placing-images-in-an-open-xml-spreadsheet\/","title":{"rendered":"Precisely Placing Images in an Open XML Spreadsheet"},"content":{"rendered":"<p><span class=\"Back\"><a class=\"Back\" href=\"https:\/\/www.ericwhite.com\/blog\/introduction-to-spreadsheetml-series\/\">Return to the SpreadsheetML Screen-Cast Series<\/a><\/span>Sometimes you want to place an image on a worksheet.&nbsp; You want to be able to control exactly where the image is, its size, and in most cases, you want to preserve its aspect ratio.&nbsp; The following screen-cast walks through the markup for placing an image, and demonstrates some sample Open XML SDK code that places an image at an exact location on a worksheet.<\/p>\n<p>Download: <a href=\"https:\/\/www.ericwhite.com\/blog\/wp-content\/uploads\/2016\/03\/PlaceImageOnXlsx.zip\">Example Code<\/a><br \/>\n<iframe loading=\"lazy\" title=\"Precisely-Placing-Images.wmv\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/PtZL0oOJRyk?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Return to the SpreadsheetML Screen-Cast SeriesSometimes you want to place an image on a worksheet.&nbsp; You want to be able to control exactly where the image is, its size, and in most cases, you want to preserve its aspect ratio.&nbsp; The following screen-cast walks through the markup for placing an image, and demonstrates some sample [&hellip;]<\/p>\n","protected":false},"author":10567,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"_s2mail":"","footnotes":""},"class_list":["post-2590","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.ericwhite.com\/blog\/wp-json\/wp\/v2\/pages\/2590","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ericwhite.com\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.ericwhite.com\/blog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.ericwhite.com\/blog\/wp-json\/wp\/v2\/users\/10567"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ericwhite.com\/blog\/wp-json\/wp\/v2\/comments?post=2590"}],"version-history":[{"count":1,"href":"https:\/\/www.ericwhite.com\/blog\/wp-json\/wp\/v2\/pages\/2590\/revisions"}],"predecessor-version":[{"id":2592,"href":"https:\/\/www.ericwhite.com\/blog\/wp-json\/wp\/v2\/pages\/2590\/revisions\/2592"}],"wp:attachment":[{"href":"https:\/\/www.ericwhite.com\/blog\/wp-json\/wp\/v2\/media?parent=2590"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}