简体   繁体   中英

C# WinForm Image Folder instead of Embedded Resource

I have a requirement for my WinForm Application for showing SVG icons instead of traditional png icons.

There is a SVG Rendering Library 1.6.1 that does the work but only works for file system files, so If I try to Embedded a SVG as a resources the library can't process that stream.

Basically, my question is how can I add a image folder, so when I publish my application (clickonce) the folder is created with the images inside.

Thanks

From a fast reading of the SVG library, it appears that SvgDocument does support a stream interface; in particular public static T Open<T>(Stream stream) where T : SvgDocument, new() .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM