您现在的位置:网络学院 > 开发教室 > 网站开发 > ASP
ShotGraph普通的画图的原理

出处:PConline
责任编辑:zwg

[02-4-7 14:57] 作者:飞刀/aspcn


ShotGraph普通的画图的原理

ShotGraph 能在以下的环境中使用:


  • Visual Basic
  • VBScript
  • Visual Basic for applications (VBA), Word, Excel, etc.
  • Active Server Pages (ASP) engine with Internet Information Server
  • Perl for Windows
  • others


ShotGraph size=3>COOL代码:


我们来先来简单的:


Step by step



  1. 首先建立一个对象 "shotgraph.image".
  2. 使用 href="http://www.aspcn.com/aspcn.asp?title=shotgraph_createimage">CreateImage
    方法。
  3. 使用 href="http://www.aspcn.com/aspcn.asp?title=shotgraph_setcolor"
    ?>SetColor
    方法一次或者多次来定义画图要使用的颜色。
  4. 清除你图区中的所有内容,必要时使用 href="http://www.aspcn.com/aspcn.asp?title=shotgraph_setcolor">FillRect
    普遍认为方法.
  5. 使用有效的方法画图.
  6. 使用 href="http://www.aspcn.com/aspcn.asp?title=shotgraph_gifimage">GifImage
    函数. 你的图画就完成了!



[下一页]


相关文章:

单机上使用ASP(1)
单机上使用ASP(2)
单机上使用ASP(3)
访问数据库(1)
动手写个小组件(组件入门)_asp
ASP中使用组件搜索
AspcnUP 组件的使用方法
ASP Charge 组件的例程
ASP SCRIPT: 计数器(使用GrapShot组件)
ASP中使用组件搜索


内容搜索 
高级搜索

本栏今日焦点