万卷书   首页 > 电脑书籍 > Asp > ShotGraph普通的画图的原理
 

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代码:

 

href="http://www.htmcn.com/aspcn.htm?title=shotgrap_upload">上载文件

href="http://www.htmcn.com/aspcn.htm?title=shotgrah_counter">计数器

href="http://www.htmcn.com/aspcn.htm?title=shotgrah_gif">画GIF动画图形

href="http://www.htmcn.com/aspcn.htm?title=shotgrah_draw">画图形

 

我们来先来简单的:

 

Step by step

 

首先建立一个对象 "shotgraph.image".

使用 href="http://www.htmcn.com/aspcn.htm?title=shotgraph_createimage">CreateImage
方法。

使用 href="http://www.htmcn.com/aspcn.htm?title=shotgraph_setcolor"
?>SetColor 方法一次或者多次来定义画图要使用的颜色。

清除你图区中的所有内容,必要时使用 href="http://www.htmcn.com/aspcn.htm?title=shotgraph_setcolor">FillRect
普遍认为方法.

使用有效的方法画图.

使用 href="http://www.htmcn.com/aspcn.htm?title=shotgraph_gifimage">GifImage
函数. 你的图画就完成了!

 

下一页