Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moving SVG content to the clipboard?
Message
From
22/12/2018 02:42:46
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Title:
Moving SVG content to the clipboard?
Miscellaneous
Thread ID:
01664827
Message ID:
01664827
Views:
69
Likes (1)
Hi all of you,

We recently discovered we could produce clean svg from a good old VFP application via external party. Yes REALLY sharp, compact and good-looking stuff, crisp vector-based images making use of recent SVG features. I have attached a sample - a pretty plain one. But it includes most of the svg tricks we like to implement.

The resource is available as both as PNG and SVG. Great! We can now integrate SVG material in recent MS-Office versions. I have tested it. Yep it works pretty well in both MS-Excel and PPT.You can easily load the SVG resource as a file:-)

The SVG file is smarter since it is vector-based. That's nice. But I'd really like to offer a seamless integration i-e via clipboard as we have offered for ages for png formatted content.

Any one has a clue on how to deliver SVG clipboard content on Windows platform. I understand that Windows clipboard formats include SVG: CFSTR_MIME_SVG_XML ie TEXT("image/svg+xml") MIME type. Would be fine to test the trick and paste SVG content from clipboard. Would be an achievement!

Any input welcome!

Daniel,

Attachment: an arbitrary SVG sample for SVG embedding and the equivalent in PNG format (yep that one is easy copied to clipboard from VFP)
Next
Reply
Map
View

Click here to load this message in the networking platform