开发者

Saving a VisualBrush/Vector Image To Byte array C#

开发者 https://www.devze.com 2023-02-08 02:23 出处:网络
I am Currently Creating an application which allows the user to create a custom Canvas with controls on top and then save this Canvas to Db.I Can Save the Controls/Properties to my Db and return them

I am Currently Creating an application which allows the user to create a custom Canvas with controls on top and then save this Canvas to Db. I Can Save the Controls/Properties to my Db and return them without issue however I am having a problem saving the Visual of the Canvas Background.

If i convert the background to a Bitmap and then Byte Array to save it, the returned Image is not of high enough quality to use(Blurry). The main issue here is that this Image will be used to print to A4(or larger) which is perfectly sharp pre-save and unusable after.

Is there anyway to save this Canvas/Visual as a Vector Image to write to the database? Or perhaps a better way to save it entirely.

Thanks In 开发者_如何转开发advance

Andrew

0

精彩评论

暂无评论...
验证码 换一张
取 消