Advanced Line Procedure With Many Options

Category:
Screen/Graphics
Type:
Snippets
Difficulty:
Advanced
Author:
Daniel Cohen Gindi

Version Compatibility: Visual Basic 5

More information:
This is an advanced Line procedure!, its allows you to many options that the VB not allowing you, and its difficult to do that with API functions!

It is best to set form's autoredraw property to true when using this. Because it supplies so many options, you should play with it a bit and learn how to use it for your purposes.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: