I would like to know how to change the Image Source in codebehind. #53
Replies: 1 comment 1 reply
-
"Correct" may not be the right word here, since this will work but not what you might need to do. Why SvgIconConverter? See the sample below for demonstration of the |
Beta Was this translation helpful? Give feedback.
-
I am using this library to use SVG as background for InkCanvas.
It's working very well.
I load multiple SVG files at once
I want to replace an image based on user input.
To do that, it seems that you have to create an SVG image with the absolute file path in the backend and apply it every time.
But I don't know how to apply this library.
May I know how to apply this as an image when I open a specific SVG file with OpenFileDialog ?
Did I express my intentions correctly?
Could you please review the method using the library as well?
ImageSource = svg:SvgIcon ...
Is this correct?
Beta Was this translation helpful? Give feedback.
All reactions