ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Loading SVG images as Layers
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

PeterPanino

934 Posts

Posted - Nov 24 2023 :  17:04:50  Show Profile  Reply
The ImageEn version 13 is fantastic! For me, one of the most exciting features of this new version is the ability to load SVG images as layers using Vcl.Skia in Delphi 12.

In this context: I also need to programmatically create a Layer by assigning SVG XML text to the created Layer at run-time (instead of loading it from a file). Is this possible? Specifically, how to create an SVG Image Layer at run-time (and automatically center it in the TImageEnView)? And how can we access the SVG XML text of a layer at runtime without the intermediate step via an SVG XML file?

I've done it now with ImageEnView1.IO.ImportFromStreamSVG(fs):

attach/PeterPanino/202311253022_ImageEnCreateSVG.zip
80.34 KB

xequte

38682 Posts

Posted - Nov 26 2023 :  00:12:53  Show Profile  Reply
Yes, that is the correct way.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: