cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PiebePost1
Helper I
Helper I

W10 app has problems showing SVG

Hello all,

 

I have an imagecontrol with the Image property set to something like:

 

"data&colon;image/svg+xml;utf8, " & EncodeUrl("<svg width='1620' height='1500' xmlns='http://www.w3.org/2000/svg'><path d='M 120 1500 v -1270 h 1270 Z ' fill='#8C969F ' stroke='black' stroke-width='2'/></svg>")

 

This works flawlessly in the browser and on Android, but not on W10.

 

Any suggestion? Or is this another result from the W10 not being updated for ages?

 

Appreciate any reply! 

1 REPLY 1
albertocber
New Member

Hi,

 

I have the same issue with a very simple application image:

"data&colon;image/svg+xml;utf8, "&EncodeUrl("
<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-funnel-fill' viewBox='0 0 16 16'> <path d='M1.5 1.5A.5.5 0 0 1 2 1h12a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.128.334L10 8.692V13.5a.5.5 0 0 1-.342.474l-3 1A.5.5 0 0 1 6 14.5V8.692L1.628 3.834A.5.5 0 0 1 1.5 3.5v-2z'/> </svg>
")

 

Have you found a solution? Any help?

 

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,242)