I need to Export some PNG Images with Transparent Background from a C# Application .
But that is not a Huge Concern .
What make’s it complicated and beyond my knowledge is ,how am i able to Export to PNG Image File With Transparent Background with Some Text in it,like a Label only without Background so in that way i can export as many images i want with Different Text into it.
And that PNG should had the Size of the Label ,or if there is a way it should FIT the Font Size and Text Length ,so it Height and Width should be same as Font one .
Bests.
You’re looking for the
BitmapandGraphicsclasses, along with theFontclass and theTextRenderer.MeasureTextmethod.