{"id":6965,"date":"2021-08-03T09:32:36","date_gmt":"2021-08-03T09:32:36","guid":{"rendered":"https:\/\/buildsoftsupport.com\/?post_type=ht_kb&#038;p=6965"},"modified":"2021-12-03T09:58:53","modified_gmt":"2021-12-03T09:58:53","slug":"error-object-reference-not-set-to-an-instance-of-an-object-at-system-drawing-graphics-get_dpix","status":"publish","type":"ht_kb","link":"https:\/\/support.buildsoft.eu\/fr\/knowledge-base\/error-object-reference-not-set-to-an-instance-of-an-object-at-system-drawing-graphics-get_dpix\/","title":{"rendered":"Error: Object reference not set to an instance of an object at System.Drawing.Graphics.get_DpiX()"},"content":{"rendered":"<p>When creating an RTF-report with Diamonds, you get the error:<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-6966 aligncenter\" src=\"https:\/\/buildsoftsupport.com\/wp-content\/uploads\/2021\/12\/ErrorGraphics.get_.DpiX_.png\" alt=\"\" width=\"500\" height=\"274\" srcset=\"https:\/\/support.buildsoft.eu\/wp-content\/uploads\/2021\/12\/ErrorGraphics.get_.DpiX_.png 500w, https:\/\/support.buildsoft.eu\/wp-content\/uploads\/2021\/12\/ErrorGraphics.get_.DpiX_-300x164.png 300w, https:\/\/support.buildsoft.eu\/wp-content\/uploads\/2021\/12\/ErrorGraphics.get_.DpiX_-50x27.png 50w, https:\/\/support.buildsoft.eu\/wp-content\/uploads\/2021\/12\/ErrorGraphics.get_.DpiX_-60x33.png 60w, https:\/\/support.buildsoft.eu\/wp-content\/uploads\/2021\/12\/ErrorGraphics.get_.DpiX_-35x19.png 35w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/p>\n<h2>Solution<\/h2>\n<p>This error is caused by the option\u00a0<em>Insert connection data<\/em> in the tab page &lsquo;<em>Geometry<\/em>&lsquo;. If you uncheck that option, the rtf will be made. To solve this issue permanently, install Diamonds 2022 or newer.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When creating an RTF-report with Diamonds, you get the error: Solution This error is caused by the option\u00a0Insert connection data in the tab page &lsquo;Geometry&lsquo;. If you uncheck that option, the rtf will be made. To solve this issue permanently, install Diamonds 2022 or newer.<\/p>\n","protected":false},"author":3,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":[],"ht-kb-category":[67],"ht-kb-tag":[],"_links":{"self":[{"href":"https:\/\/support.buildsoft.eu\/fr\/wp-json\/wp\/v2\/ht-kb\/6965"}],"collection":[{"href":"https:\/\/support.buildsoft.eu\/fr\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/support.buildsoft.eu\/fr\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/support.buildsoft.eu\/fr\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/support.buildsoft.eu\/fr\/wp-json\/wp\/v2\/comments?post=6965"}],"version-history":[{"count":3,"href":"https:\/\/support.buildsoft.eu\/fr\/wp-json\/wp\/v2\/ht-kb\/6965\/revisions"}],"predecessor-version":[{"id":6969,"href":"https:\/\/support.buildsoft.eu\/fr\/wp-json\/wp\/v2\/ht-kb\/6965\/revisions\/6969"}],"wp:attachment":[{"href":"https:\/\/support.buildsoft.eu\/fr\/wp-json\/wp\/v2\/media?parent=6965"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/support.buildsoft.eu\/fr\/wp-json\/wp\/v2\/ht-kb-category?post=6965"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/support.buildsoft.eu\/fr\/wp-json\/wp\/v2\/ht-kb-tag?post=6965"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}