How can a load a svg image in xamarin forms without extentensions?

LucaxsTeixeira 1 Reputation point
2021-02-20T13:49:25.587+00:00

I've been looking for a different way of loading svg images without extensions cuze i can't use it and i think nobody knows it

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Borisoprit 371 Reputation points
    2021-02-21T22:37:37.59+00:00

    What do you mean without extensions ?

    I load it like this in a Absolute layout , it is the Oranje part of the image

      <Path Fill="#ff9500" Stroke="#ff9500" AbsoluteLayout.LayoutBounds="1,1,1,.14" AbsoluteLayout.LayoutFlags="All"   Aspect="Fill" Data="m460.23922,549.93743l337.34414,-27.36358l0.04766,76.00949l-337.3918,0l0,-48.64591z" HeightRequest="70" />  
    

    70270-example-path.png

    2 people found this answer helpful.