文件名称:VBDRAW
- 所属分类:
- 绘图程序
- 资源属性:
- [Windows] [Visual C] [Basic/ASP] [源码]
- 上传时间:
- 2013-11-20
- 文件大小:
- 2kb
- 下载次数:
- 0次
- 提 供 者:
- 铭*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
VB函数画图形的源码示例,生成图形的VB绘图实例,设置Picture1控件使其中心点坐标为(0,0),Picture1.Cls清除其他图形,以下三行VB代码实现在Picture1中绘制黑色的水平坐标轴和垂直坐标轴。
Picture1.ForeColor = &H0
Picture1.Line (-300, 0)-(300, 0)
Picture1.Line (0, 300)-(0, -300)
开始绘制白色函数图形-The VB function to draw graphics source code examples, generated graphics VB Graphics instance, set the Picture1 control so that its center point coordinates (0,0), Picture1.Cls remove other graphics, the following three lines of VB code in Picture1 drawing black horizontal axis and vertical axis.
Picture1.ForeColor = & H0
Picture1.Line (-300, 0)- (300, 0)
Picture1.Line (0, 300)- (0,-300)
To draw a white function graph
Picture1.ForeColor = &H0
Picture1.Line (-300, 0)-(300, 0)
Picture1.Line (0, 300)-(0, -300)
开始绘制白色函数图形-The VB function to draw graphics source code examples, generated graphics VB Graphics instance, set the Picture1 control so that its center point coordinates (0,0), Picture1.Cls remove other graphics, the following three lines of VB code in Picture1 drawing black horizontal axis and vertical axis.
Picture1.ForeColor = & H0
Picture1.Line (-300, 0)- (300, 0)
Picture1.Line (0, 300)- (0,-300)
To draw a white function graph
(系统自动生成,下载前可以参看下载内容)
下载文件列表
函数图形\Form1.frm
........\工程1.vbp
........\工程1.vbw
函数图形