VB中图纸的透明背景? [英] transparent background for drawings in vb?
本文介绍了VB中图纸的透明背景?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨
有人有一个想法如何在vb图片框中创建图形吗?
图片必须另存为png,背景必须透明.
亲切的问候
H
Hi
anybody have a idea how to create a drawing in vb picturebox?
The images must save as png and background must be transparent.
Kind regards
H
推荐答案
通常,这是使用Bitmap.MakeTransparent
方法完成的.
此处的示例: http://msdn.microsoft.com/en-us/library/8517ckds.aspx [^ ]
[更新]
-------------
S.O.上的相关线程:
http://stackoverflow.com/questions/388677/can- you-make-an-alpha-transparent-png-with-c [
Typically this is done using theBitmap.MakeTransparent
method.
Example here: http://msdn.microsoft.com/en-us/library/8517ckds.aspx[^]
[Update]
-------------
Relevant thread on S.O.:
http://stackoverflow.com/questions/388677/can-you-make-an-alpha-transparent-png-with-c[^]
这篇关于VB中图纸的透明背景?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文