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
Super User 2 - 2022 Congratulations 768x460.png

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

<
Users online (2,365)