C
C#15mo ago
oscar

❔ convert to svg image

when i try to create a svg element for the image and run it i get a error code that looks like this. Severity Code Description Project File Line Suppression State Error CS1729 'SvgImage' does not contain a constructor that takes 1 arguments Converter
4 Replies
Buddy
Buddy15mo ago
As it says, SvgImage does not have a constructor that takes 1 argument I suggest you read the errors 😛
WTDawson9
WTDawson915mo ago
Hmm, maybe there's some function inside of that class that allows you to convert it (like a static class) rather than a non-static class Which is how you're tying to use it
Angius
Angius15mo ago
You can always read the documentation
Accord
Accord15mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server
More Posts
❔ System.IndexOutOfRangeException: 'Index was outside the bounds of the array.'Why cant i use the int mainStory inside my array? `System.IndexOutOfRangeException: 'Index was outs❔ dotnet workload install errors.Trying to use the uno framework. Using uno-check to download dependencies. When it executes `dotnet ❔ Is there a way to quickly change all instances of "var" in my code to "Country"?I had ChatGPT do some stuff and it named everything var and I have a Country method, I need to conve❔ Issue with Google authentication in dotnet 7 react app [SOLVED]Hi! I am trying to use google authentication with dotnet 7 react app. I followed the instructions he❔ Can you modify fields in a struct?I am working on a school project and have run into an issue. Code snippets is: https://sourceb.in/Ss❔ MAUI ImageButton Aspect not workingI'm working on a tool that should allow users to swap out an image in this ImageButton by clicking o✅ Lagging IOptionsMonitorCache for openidconnnect``` [HttpGet] public async Task AuthenticateClient([FromRoute] int id) { ❔ tls 1.2 serverclientI'm struggling a lot for something that maybe is very simple. I have to upgrade a simulator with tl❔ Error "System.NullReferenceException: "Object reference not set to an instance of an object.Hi all, error "System.NullReferenceException: "Object reference not set to an instance of an object.❔ Change Font Size?Hello, everyone! I have searched the Internet, on how to change the font size/zoom for the console w