javascript - How to find selected path on svg image in xamarin forms -
i'm using c# library in i'm unable select path of svg image.
i'm developing hybrid mobile application, using xamarin.forms platform have display svg image , have highlight selected parts. so, have added svg nuget package. svg image working fine but, unable find selected parts. can please me?
var svgpaths = new list<string> { "sampleapp.images.sample1.svg", }; var grid = new grid { rowdefinitions = new rowdefinitioncollection(), columndefinitions = new columndefinitioncollection() }; var svgpath = svgpaths[0]; var svgimage = new svgimage { svgpath = svgpath, svgassembly = typeof(app).gettypeinfo().assembly, heightrequest = 400, widthrequest = 400, horizontaloptions = layoutoptions.center, verticaloptions = layoutoptions.center, backgroundcolor = color.white }; grid.children.add(svgimage);
Comments
Post a Comment