- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
The VB6 graphical method is detailed(国外英文资料)
The VB6 graphical method is detailed(国外英文资料)
VB drawing statement
Draw some
VB6 USES the Pset method to draw points at the specified location.
Statement format: obj. Pset (x, y) [, color ]
Function: specifies the point of the specified color on the specified location on the specified object.
Description:
Obj refers to a form or picture frame. In the form module, if omitted means the current form.
Parameter x and y specify point coordinates, and the data type is Single (Single), usually with an integer.
The color parameter ellipsis USES the foreground of obj. This parameter is an integer value that can be returned with the QBColor function or RGB function, or directly with the hexadecimal number.
Example:
Pset (1500,2000), RGB (0, 0, 255) draw a blue dot.
Pset (1500,2000), HFF0000
Tip: to erase a point, use the background color to redraw in the original position. This technique also applies to other graphical methods.
Line drawing
VB6 USES Line method to draw lines (Line segments) to specify the color of the Line.
Grammar format: obj. Line [[Step] [[Step] [[Step] [[Step] [[Step] [[Step] [[Step] [[Step] (x2, y2) [, color ]]
Function: draw a line specifying the color between two points.
Description:
The coordinates (x1, y1) represent the starting point of the line segment, and the coordinates (x2, y2) indicate the end point of the line segment, and when there is no step keyword, they represent the point coordinate.
Step 1 means that the next number is the offset, not the coordinate. Said the first Step followed by two Numbers is the offset relative to the current coordinate, the second Step said followed by two Numbers is relative to the first pair of coordinates of the offset.
When the Line method is completed, the current coordinate is modified to be the terminal coordinate. The next Line statement, if omitted the first pair of coordinates, will start with the current coordinates. If already drew at least one Line by Line method, and then to draw the Line in fron
您可能关注的文档
- Otitis first, the area of the disease should be cleaned up, without abscess and no water, _20150604_214147(国外英文资料).doc
- Organizational behavior assignment 4(国外英文资料).doc
- Oracle practice answer(国外英文资料).doc
- Our four years, our 8.26, our original love still(国外英文资料).doc
- OTP disposable speech chip, high quality repeatable burn scheme, 10-2560 second video playback(国外英文资料).doc
- PCM timeslot explain(国外英文资料).doc
- PH(国外英文资料).doc
- Openjudge topic(国外英文资料).doc
- Photoshop CS5 this document(国外英文资料).doc
- Pg and chloroprostol(国外英文资料).doc
- The soup is in the soup(国外英文资料).doc
- The vocabulary of the Chinese standard and the outline of the Chinese characters(国外英文资料).doc
- The whole process of territorial disputes between China and Russia(国外英文资料).doc
- The WINDOWS release billing system printer problem is summarized(国外英文资料).doc
- The various units of 2014(国外英文资料).doc
- The Windows set command USES a profile(国外英文资料).doc
- There are 10 signs that the body is dehydrated(国外英文资料).doc
- The _Protel_99_SE shortcut key(国外英文资料).doc
- There are two ways to print barcodes in VB applications(国外英文资料).doc
- The work plan of the implementation of the implementation of the scientific outlook on development was carried out(国外英文资料).doc
文档评论(0)