WMF To Base64StringSSunshine10yAsked Jul 28, 2016, 9:12 PM EDT2 answersShareLinkedInXCopy linkSaveHi,Is it possible to convert a wmf file to Base64String?Thanks2 AnswersKnow the answer? Post it. Somebody with the same question will find it here.Suthish NairRank #92 · 22.8K points10y agoPosted Jul 28, 2016, 10:34 PM EDT0Yes..Byte[]bytes=File.ReadAllBytes("wmf file path");Stringfile=Convert.ToBase64String(bytes);Byte[]bytes=Convert.FromBase64String(b64Str);File.WriteAllBytes(path,bytes);0SSunshine175 points10y agoPosted Aug 1, 2016, 11:07 PM EDT0Thanks Suthish.When I create this metafile, I want it to be in memory rather than saving it to disk. Is this possible? I just have to create a blank metafile. I assume it is like thismetfile = New Metafile(hdc, EmfType.EmfPlusDual)0Join to answer this questionEvery answer you publish earns 20 SHARP.Create free accountSign in
WMF To Base64StringSSunshine10yAsked Jul 28, 2016, 9:12 PM EDT2 answersShareLinkedInXCopy linkSaveHi,Is it possible to convert a wmf file to Base64String?Thanks
Suthish NairRank #92 · 22.8K points10y agoPosted Jul 28, 2016, 10:34 PM EDT0Yes..Byte[]bytes=File.ReadAllBytes("wmf file path");Stringfile=Convert.ToBase64String(bytes);Byte[]bytes=Convert.FromBase64String(b64Str);File.WriteAllBytes(path,bytes);0
SSunshine175 points10y agoPosted Aug 1, 2016, 11:07 PM EDT0Thanks Suthish.When I create this metafile, I want it to be in memory rather than saving it to disk. Is this possible? I just have to create a blank metafile. I assume it is like thismetfile = New Metafile(hdc, EmfType.EmfPlusDual)0
Suthish NairRank #92 · 22.8K pointsPosted Jul 28, 2016, 10:34 PM EDT
Sunshine175 pointsPosted Aug 1, 2016, 11:07 PM EDT