{"id":394,"date":"2017-03-29T05:25:50","date_gmt":"2017-03-29T05:25:50","guid":{"rendered":"http:\/\/www.bverhue.nl\/delphisvg\/?page_id=394"},"modified":"2026-10-03T06:25:20","modified_gmt":"2026-10-03T06:25:20","slug":"demo-package-installation","status":"publish","type":"page","link":"https:\/\/www.bverhue.nl\/delphisvg\/demo-package-installation\/","title":{"rendered":"Demo package installation"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">To try the SVG package, download the demo package for your Delphi version from the <strong><a href=\"https:\/\/www.bverhue.nl\/delphisvg\/shop\/demo\">demo page<\/a><\/strong>. If you use C++ Builder, download the C++ Builder files for the same version as well.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The demo is the full package with these limits: it is compiled for <strong>Win32 only<\/strong>, every rendered image gets a <strong>watermark<\/strong>, and it doesn&#8217;t load files from the internet.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">1. Unzip<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The zip holds one folder, named after your Delphi version, for example <code>SVGDemoD13_240<\/code>, with two folders inside:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>Bpl<\/code>: the three package files you install in the IDE<\/li>\n\n\n\n<li><code>Dcu<\/code>: the compiled units your application is built with<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Put the folder somewhere permanent; the IDE keeps referring to it.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">2. Remove an earlier version<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If an earlier version of the packages is installed, remove it first:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to <strong>Component > Install Packages\u2026<\/strong><\/li>\n\n\n\n<li>Select the earlier SVG packages and click <strong>Remove<\/strong>.<\/li>\n\n\n\n<li>Restart Delphi.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">3. Install the packages<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to <strong>Component > Install Packages\u2026<\/strong> and click <strong>Add\u2026<\/strong><\/li>\n\n\n\n<li>Add the three files from the <code>Bpl<\/code> folder.<\/li>\n\n\n\n<li>Check that the Palette now has an <strong>SVG2<\/strong> group.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>if the 64-bit IDE of Delphi 12.3 and later can&#8217;t load these 32-bit packages, add: &#8220;Delphi 12.3 and later can also run as a 64-bit IDE. Install the demo in the 32-bit IDE.<\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">4. Add the Dcu folder to the library path<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to <strong>Tools > Options\u2026<\/strong><\/li>\n\n\n\n<li>Open the library settings:\n<ul class=\"wp-block-list\">\n<li>Delphi 11 and later: <strong>Language > Delphi > Library<\/strong><\/li>\n\n\n\n<li>Older versions: <strong>Environment Options > Delphi Options > Library<\/strong><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Under <strong>Selected Platform<\/strong>, choose <strong>32-bit Windows<\/strong> (Windows 32-bit).<\/li>\n\n\n\n<li>Add the <code>Dcu<\/code> folder to the <strong>Library path<\/strong>.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">C++ Builder<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Unzip the C++ Builder files next to the Delphi ones. They hold a <code>Dcp<\/code> and an <code>Hpp<\/code> folder. In <strong>Tools &gt; Options\u2026 &gt; Language &gt; C++ &gt; Paths and Directories<\/strong>, for 32-bit Windows:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>add the <code>Hpp<\/code> folder to the <strong>Include path<\/strong><\/li>\n\n\n\n<li>add the <code>Dcp<\/code> folder to the <strong>Library path<\/strong><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>[check: these C++ Builder paths follow how C++ Builder normally works and weren&#8217;t tested]<\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Try it<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Create a new <strong>VCL Forms Application<\/strong>.<\/li>\n\n\n\n<li>Drop a <strong>TSVG2Image<\/strong> from the <strong>SVG2<\/strong> group on the form.<\/li>\n\n\n\n<li>Choose an SVG file in its <strong>FileName<\/strong> property.<\/li>\n\n\n\n<li>Run the application.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">More examples are in the <a href=\"https:\/\/github.com\/BVerhue\/delphi-svg-control-examples\">example projects on GitHub<\/a>; they work with the demo package.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><a href=\"http:\/\/www.bverhue.nl\/delphisvg\/wp-content\/uploads\/2016\/05\/InstallPackages3.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"533\" src=\"http:\/\/www.bverhue.nl\/delphisvg\/wp-content\/uploads\/2016\/05\/InstallPackages3.png\" alt=\"\" class=\"wp-image-251\" style=\"aspect-ratio:1.876172607879925;width:1000px;height:auto\" srcset=\"https:\/\/www.bverhue.nl\/delphisvg\/wp-content\/uploads\/2016\/05\/InstallPackages3.png 1000w, https:\/\/www.bverhue.nl\/delphisvg\/wp-content\/uploads\/2016\/05\/InstallPackages3-600x320.png 600w, https:\/\/www.bverhue.nl\/delphisvg\/wp-content\/uploads\/2016\/05\/InstallPackages3-300x160.png 300w, https:\/\/www.bverhue.nl\/delphisvg\/wp-content\/uploads\/2016\/05\/InstallPackages3-768x409.png 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/a><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>To try the SVG package, download the demo package for your Delphi version from the demo page. If you use C++ Builder, download the C++ Builder files for the same version as well. The demo is the full package with these limits: it is compiled for Win32 only, every rendered image gets a watermark, and &#8230; <a title=\"Demo package installation\" class=\"read-more\" href=\"https:\/\/www.bverhue.nl\/delphisvg\/demo-package-installation\/\" aria-label=\"Read more about Demo package installation\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"footnotes":""},"class_list":["post-394","page","type-page","status-publish"],"_links":{"self":[{"href":"https:\/\/www.bverhue.nl\/delphisvg\/wp-json\/wp\/v2\/pages\/394","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bverhue.nl\/delphisvg\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.bverhue.nl\/delphisvg\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.bverhue.nl\/delphisvg\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bverhue.nl\/delphisvg\/wp-json\/wp\/v2\/comments?post=394"}],"version-history":[{"count":10,"href":"https:\/\/www.bverhue.nl\/delphisvg\/wp-json\/wp\/v2\/pages\/394\/revisions"}],"predecessor-version":[{"id":3255,"href":"https:\/\/www.bverhue.nl\/delphisvg\/wp-json\/wp\/v2\/pages\/394\/revisions\/3255"}],"wp:attachment":[{"href":"https:\/\/www.bverhue.nl\/delphisvg\/wp-json\/wp\/v2\/media?parent=394"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}